hlist: drop the node parameter from iterators
[linux-2.6-block.git] / drivers / isdn / mISDN / stack.c
index deda591f70b9fab4be605442fb1f6afe9bd9f7be..9cb4b621fbc3cffe0bceb770bde7dbdac292dd95 100644 (file)
@@ -64,12 +64,11 @@ unlock:
 static void
 send_socklist(struct mISDN_sock_list *sl, struct sk_buff *skb)
 {
-       struct hlist_node       *node;
        struct sock             *sk;
        struct sk_buff          *cskb = NULL;
 
        read_lock(&sl->lock);
-       sk_for_each(sk, node, &sl->head) {
+       sk_for_each(sk, &sl->head) {
                if (sk->sk_state != MISDN_BOUND)
                        continue;
                if (!cskb)