Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 336d9451abdacb8b8dc54d6f291e7cf61e38c94d Author: Martin Hundebøll martin@hundeboll.net Date: Fri Aug 10 15:46:32 2012 +0200
batman-adv: Remove unused hlist macros in compat.h
Signed-off-by: Martin Hundebøll martin@hundeboll.net Acked-by: Sven Eckelmann sven@narfation.org
336d9451abdacb8b8dc54d6f291e7cf61e38c94d compat.h | 8 -------- 1 file changed, 8 deletions(-)
diff --git a/compat.h b/compat.h index 13253dd..8ac22a8 100644 --- a/compat.h +++ b/compat.h @@ -67,14 +67,6 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)
-#define hlist_first_rcu(head) (*((struct hlist_node **)(&(head)->first))) -#define hlist_next_rcu(node) (*((struct hlist_node **)(&(node)->next))) - -#define __hlist_for_each_rcu(pos, head) \ - for (pos = rcu_dereference(hlist_first_rcu(head)); \ - pos && ({ prefetch(pos->next); 1; }); \ - pos = rcu_dereference(hlist_next_rcu(pos))) - #define rcu_dereference_protected(p, c) (p)
#endif /* < KERNEL_VERSION(2, 6, 34) */