]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/tipc/node.c
hlist: drop the node parameter from iterators
[karo-tx-linux.git] / net / tipc / node.c
index 48f39dd3eae8801ff2eb1638b7ac4551c4035237..6e6c434872e82534e0d48f6dceb0c212f1541896 100644 (file)
@@ -69,12 +69,11 @@ static unsigned int tipc_hashfn(u32 addr)
 struct tipc_node *tipc_node_find(u32 addr)
 {
        struct tipc_node *node;
-       struct hlist_node *pos;
 
        if (unlikely(!in_own_cluster_exact(addr)))
                return NULL;
 
-       hlist_for_each_entry(node, pos, &node_htable[tipc_hashfn(addr)], hash) {
+       hlist_for_each_entry(node, &node_htable[tipc_hashfn(addr)], hash) {
                if (node->addr == addr)
                        return node;
        }