]> Pileus Git - ~andy/linux/blobdiff - net/l2tp/l2tp_ip6.c
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / net / l2tp / l2tp_ip6.c
index 8ee4a86ae996ca624e06a1422e4e07a2e957c584..41f2f8126ebc720933638f67eb800f17797987e7 100644 (file)
@@ -60,10 +60,9 @@ static struct sock *__l2tp_ip6_bind_lookup(struct net *net,
                                           struct in6_addr *laddr,
                                           int dif, u32 tunnel_id)
 {
-       struct hlist_node *node;
        struct sock *sk;
 
-       sk_for_each_bound(sk, node, &l2tp_ip6_bind_table) {
+       sk_for_each_bound(sk, &l2tp_ip6_bind_table) {
                struct in6_addr *addr = inet6_rcv_saddr(sk);
                struct l2tp_ip6_sock *l2tp = l2tp_ip6_sk(sk);