]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95422f55cc5728ff9f4aa6e31dc51438633f1f71
tree510ac1d7b69dc5ebcc0ab53130442274f70e3652
parent21559cec337f956885ac4f202cf6bcfc4a87e6b5
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