Re: [PATCH] [2.6] [2/2] hlist: remove IFs from hlist functions

From: Alex Pankratov
Date: Wed Feb 11 2004 - 02:01:04 EST




Stephen Hemminger wrote:
+++ linux-2.6.2.hlist/lib/list.c 2004-02-10 13:03:08.000000000 -0800

@@ -0,0 +1,10 @@
+#include <linux/module.h>
+#include <linux/list.h>
+
+/*
+ * shared tail sentinel for hlists
+ */
+struct hlist_node hlist_null;

Could this be const?

No, because its 'pprev' field *is* getting modified.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/