]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: remove useless codes in ipmr_device_event()
authorRongQing.Li <roy.qing.li@gmail.com>
Wed, 23 Nov 2011 23:10:52 +0000 (23:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 23:32:33 +0000 (18:32 -0500)
commite0853c4fecb7f7ad0f4667d2baa4fa10a6d71cee
tree661be2f3cd9d894019c4607f7c46be77fbc9c847
parent6da3c77136bb7de3e7610a15d80e6c4bfa2cbb4e
ipv4: remove useless codes in ipmr_device_event()

Commit 067cb378 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