diff options
author | David S. Miller <davem@davemloft.net> | 2012-02-15 23:48:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-15 23:48:35 +0100 |
commit | 80703d265b7e8a801560d907b1bfe340e574dbca (patch) | |
tree | 4259c2f99614735f5048ebc1f339a0ba20735d6d /net/ipv4 | |
parent | decnet: net/dn.h needs net/flow.h (diff) | |
download | linux-80703d265b7e8a801560d907b1bfe340e574dbca.tar.xz linux-80703d265b7e8a801560d907b1bfe340e574dbca.zip |
ipv4: Eliminate spurious argument to __ipv4_neigh_lookup
'tbl' is always arp_tbl, so specifying it is pointless.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 4eeb8ce856e2..0489cedc1671 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1127,7 +1127,7 @@ static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, const vo else if (rt->rt_gateway) pkey = (const __be32 *) &rt->rt_gateway; - n = __ipv4_neigh_lookup(&arp_tbl, dev, *(__force u32 *)pkey); + n = __ipv4_neigh_lookup(dev, *(__force u32 *)pkey); if (n) return n; return neigh_create(&arp_tbl, pkey, dev); |