diff options
Diffstat (limited to 'include/net/arp.h')
-rw-r--r-- | include/net/arp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/arp.h b/include/net/arp.h index 4617d9841132..7f7df93f37cd 100644 --- a/include/net/arp.h +++ b/include/net/arp.h | |||
@@ -21,9 +21,6 @@ static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev | |||
21 | struct neighbour *n; | 21 | struct neighbour *n; |
22 | u32 hash_val; | 22 | u32 hash_val; |
23 | 23 | ||
24 | if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) | ||
25 | key = 0; | ||
26 | |||
27 | hash_val = arp_hashfn(key, dev, nht->hash_rnd[0]) >> (32 - nht->hash_shift); | 24 | hash_val = arp_hashfn(key, dev, nht->hash_rnd[0]) >> (32 - nht->hash_shift); |
28 | for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); | 25 | for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); |
29 | n != NULL; | 26 | n != NULL; |