[ARP]: Remove overkill checks from neigh_param_alloc.
authorDenis V. Lunev <den@openvz.org>
Tue, 15 Jan 2008 06:59:59 +0000 (22:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:10 +0000 (15:02 -0800)
commit486b51d3706c5493b6c50992eaaafc44e628a7ed
treea673ae4ee9f03bfad9649d02d9ef27151c241f2c
parent72132c1b6c7a7605cdfde86a9f58b6ca2b2195a6
[ARP]: Remove overkill checks from neigh_param_alloc.

Valid network device is always passed into neigh_param_alloc, so
remove extra checking for dev == NULL. Additionally, cleanup bogus
netns assignment.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c