Skip to content
Commit e92036a6 authored by RongQing.Li's avatar RongQing.Li Committed by David S. Miller
Browse files

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: default avatarRongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 115d2a3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment