]> git.baikalelectronics.ru Git - kernel.git/commit
net: call call_netdevice_unregister_net_notifiers from unregister
authorJiri Pirko <jiri@mellanox.com>
Sat, 25 Jan 2020 11:17:06 +0000 (12:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:03:44 +0000 (11:03 +0100)
commitffb3a0ef581f0b39a36309f020455d6749332a3c
treebb17a8266ab68eee1da8298883fd353de60ba1e7
parent65c85c9c89504ec828a5428a6e502ad1ab4ef586
net: call call_netdevice_unregister_net_notifiers from unregister

The function does the same thing as the existing code, so rather call
call_netdevice_unregister_net_notifiers() instead of code duplication.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c