ipmr: remove useless checks from ipmr_device_event
authorPavel Emelyanov <xemul@openvz.org>
Wed, 17 Feb 2010 01:19:32 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:27:10 +0000 (13:27 -0800)
commit9f0beba9f90847db7ba6ed894f7c87b6038a5bce
tree33245112ba66fdb1c886da7663b5bba439e17879
parenta77ff709dd30a263f8154b05a8514b46098b42ba
ipmr: remove useless checks from ipmr_device_event

The net being checked there is dev_net(dev) and thus this if
is always false.

Fits both net and net-next trees.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c