ipv6: Kill ndisc_get_neigh() inline helper.
authorDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2011 23:29:30 +0000 (18:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2011 23:29:30 +0000 (18:29 -0500)
commit04a6f4417bfd17c3860e8fb37387cb78265ffe44
tree510ac1d7b69dc5ebcc0ab53130442274f70e3652
parent3830847396fa6d7f9a5fec0ca9819c47ac8a64e8
ipv6: Kill ndisc_get_neigh() inline helper.

It's only used in net/ipv6/route.c and the NULL device check is
superfluous for all of the existing call sites.

Just expand the __ndisc_lookup_errno() call at each location.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
net/ipv6/route.c