]> 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)
commit7140cb8b5242d22d4d89bed05e8e803b9b1978b9
treebb17a8266ab68eee1da8298883fd353de60ba1e7
parent322bd4857cefcfca772f6153de672c5ec46a5ff9
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