summaryrefslogtreecommitdiff
path: root/net/core/rtnl_net_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/rtnl_net_debug.c')
-rw-r--r--net/core/rtnl_net_debug.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/rtnl_net_debug.c b/net/core/rtnl_net_debug.c
index e90a32242e22..f406045cbd0e 100644
--- a/net/core/rtnl_net_debug.c
+++ b/net/core/rtnl_net_debug.c
@@ -122,10 +122,4 @@ static int __init rtnl_net_debug_init(void)
return ret;
}
-static void __exit rtnl_net_debug_exit(void)
-{
- unregister_netdevice_notifier(&rtnl_net_debug_block);
- unregister_pernet_device(&rtnl_net_debug_net_ops);
-}
-
subsys_initcall(rtnl_net_debug_init);