ipv4: remove useless codes in ipmr_device_event()
commite92036a6516d07f61d4c214970a35ff05b919c25
authorRongQing.Li <roy.qing.li@gmail.com>
Wed, 23 Nov 2011 23:10:52 +0000 (23 23:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 23:32:33 +0000 (29 18:32 -0500)
tree661be2f3cd9d894019c4607f7c46be77fbc9c847
parent115d2a3de2fd7d501369b0091c5c485a72ed90ed
ipv4: remove useless codes in ipmr_device_event()

Commit 7dc00c82 added a 'notify' parameter for vif_delete() to
distinguish whether to unregister the device.

When notify=1 means we does not need to unregister the device,
so calling unregister_netdevice_many is useless.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c