]> Pileus Git - ~andy/linux/blobdiff - net/ieee802154/raw.c
hlist: drop the node parameter from iterators
[~andy/linux] / net / ieee802154 / raw.c
index 50e823927d4983f5e0f42312d1c5842cdc67112d..41f538b8e59c9d7912cdf51287d9afa7a116c646 100644 (file)
@@ -221,10 +221,9 @@ static int raw_rcv_skb(struct sock *sk, struct sk_buff *skb)
 void ieee802154_raw_deliver(struct net_device *dev, struct sk_buff *skb)
 {
        struct sock *sk;
-       struct hlist_node *node;
 
        read_lock(&raw_lock);
-       sk_for_each(sk, node, &raw_head) {
+       sk_for_each(sk, &raw_head) {
                bh_lock_sock(sk);
                if (!sk->sk_bound_dev_if ||
                    sk->sk_bound_dev_if == dev->ifindex) {