[PATCH] Minor comment cleanup

Dion Blazakis dion.blazakis at gmail.com
Tue Dec 21 01:29:05 PST 2004


Hi,

I was just reading some of the source and came upon a misleading comment.

In sys/sys/msgport.h, within the definition of lwkt_msg, ms_node is
commented mentioning a note above.  It seems the note was removed
between version 1.16 and 1.17.  Reading the changes to the comment
above that, it seems like the note was correctly removed (although,
I'm not sure...).

I know this is sort of nit-picking, but it confused me a bit when I
first saw it.

-- Dion Blazakis

--- msgport.h.orig      Tue Dec 21 04:15:55 2004
+++ msgport.h   Tue Dec 21 04:16:10 2004
@@ -68,7 +68,7 @@
  * NOTE! 64-bit-align this structure.
  */
 typedef struct lwkt_msg {
-    TAILQ_ENTRY(lwkt_msg) ms_node;     /* link node (see note above) */
+    TAILQ_ENTRY(lwkt_msg) ms_node;     /* link node */
     union {
        struct lwkt_msg *ms_next;       /* chaining / cache */
        union sysunion  *ms_sysunnext;  /* chaining / cache */





More information about the Submit mailing list