hlist: drop the node parameter from iterators
[linux-2.6-block.git] / drivers / net / ethernet / sun / sunvnet.c
index 289b4eefb42f833500706b2e0f88eceb5bec800a..1df0ff3839e8f44e4125588009d20a74d41773f3 100644 (file)
@@ -614,10 +614,9 @@ struct vnet_port *__tx_port_find(struct vnet *vp, struct sk_buff *skb)
 {
        unsigned int hash = vnet_hashfn(skb->data);
        struct hlist_head *hp = &vp->port_hash[hash];
-       struct hlist_node *n;
        struct vnet_port *port;
 
-       hlist_for_each_entry(port, n, hp, hash) {
+       hlist_for_each_entry(port, hp, hash) {
                if (ether_addr_equal(port->raddr, skb->data))
                        return port;
        }