X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fnet%2Fax25.h;h=89ed9ac5701fcc3c309890bb3403eef85c97a63e;hb=b67bfe0d42cac56c512dd5da4b1b347a23f4b70a;hp=53539acbd81a518a3123c7a4984d6666acd47df1;hpb=1e142b29e210b5dfb2deeb6ce2210b60af16d2a6;p=~andy%2Flinux diff --git a/include/net/ax25.h b/include/net/ax25.h index 53539acbd81..89ed9ac5701 100644 --- a/include/net/ax25.h +++ b/include/net/ax25.h @@ -161,8 +161,8 @@ typedef struct ax25_uid_assoc { ax25_address call; } ax25_uid_assoc; -#define ax25_uid_for_each(__ax25, node, list) \ - hlist_for_each_entry(__ax25, node, list, uid_node) +#define ax25_uid_for_each(__ax25, list) \ + hlist_for_each_entry(__ax25, list, uid_node) #define ax25_uid_hold(ax25) \ atomic_inc(&((ax25)->refcount)) @@ -247,8 +247,8 @@ typedef struct ax25_cb { #define ax25_sk(__sk) ((ax25_cb *)(__sk)->sk_protinfo) -#define ax25_for_each(__ax25, node, list) \ - hlist_for_each_entry(__ax25, node, list, ax25_node) +#define ax25_for_each(__ax25, list) \ + hlist_for_each_entry(__ax25, list, ax25_node) #define ax25_cb_hold(__ax25) \ atomic_inc(&((__ax25)->refcount))