DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[PATCH] Minor comment cleanup


From: Dion Blazakis <dion.blazakis@xxxxxxxxx>
Date: Tue, 21 Dec 2004 04:27:48 -0500

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 */



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]