]> Pileus Git - ~andy/linux/blobdiff - net/phonet/pep.c
hlist: drop the node parameter from iterators
[~andy/linux] / net / phonet / pep.c
index 576f22c9c76e82630ba7e4495df1db583cf63b01..e77411735de8e53f516e9b735c7966485af56470 100644 (file)
@@ -640,11 +640,10 @@ static struct sock *pep_find_pipe(const struct hlist_head *hlist,
                                        const struct sockaddr_pn *dst,
                                        u8 pipe_handle)
 {
-       struct hlist_node *node;
        struct sock *sknode;
        u16 dobj = pn_sockaddr_get_object(dst);
 
-       sk_for_each(sknode, node, hlist) {
+       sk_for_each(sknode, hlist) {
                struct pep_sock *pnnode = pep_sk(sknode);
 
                /* Ports match, but addresses might not: */