]> 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)
commit82ae67cc1896086d6dbed2a03f1a4b16a8dbe331
tree510ac1d7b69dc5ebcc0ab53130442274f70e3652
parent7b1ddbf9ad92758d4227c7bf42caf5061a95d42f
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