]> Pileus Git - ~andy/linux/blobdiff - include/net/inet_hashtables.h
hlist: drop the node parameter from iterators
[~andy/linux] / include / net / inet_hashtables.h
index 7b2ae9d37076fb49c6aaa62f110318689d92dda8..ef83d9e844b54f0468034ce54da3d4552868f7e9 100644 (file)
@@ -94,8 +94,8 @@ static inline struct net *ib_net(struct inet_bind_bucket *ib)
        return read_pnet(&ib->ib_net);
 }
 
-#define inet_bind_bucket_for_each(tb, pos, head) \
-       hlist_for_each_entry(tb, pos, head, node)
+#define inet_bind_bucket_for_each(tb, head) \
+       hlist_for_each_entry(tb, head, node)
 
 struct inet_bind_hashbucket {
        spinlock_t              lock;