]> Pileus Git - ~andy/linux/blobdiff - net/l2tp/l2tp_ip.c
hlist: drop the node parameter from iterators
[~andy/linux] / net / l2tp / l2tp_ip.c
index f7ac8f42fee2cfbff6cbf3c863f1614a7d6f5f31..7f41b7051269539efa0780b618be0b60e7788e76 100644 (file)
@@ -49,10 +49,9 @@ static inline struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk)
 
 static struct sock *__l2tp_ip_bind_lookup(struct net *net, __be32 laddr, int dif, u32 tunnel_id)
 {
-       struct hlist_node *node;
        struct sock *sk;
 
-       sk_for_each_bound(sk, node, &l2tp_ip_bind_table) {
+       sk_for_each_bound(sk, &l2tp_ip_bind_table) {
                struct inet_sock *inet = inet_sk(sk);
                struct l2tp_ip_sock *l2tp = l2tp_ip_sk(sk);