bonding: Remove __exit tag from bond_netlink_fini().
authorDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2013 23:09:18 +0000 (19:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2013 23:09:18 +0000 (19:09 -0400)
It can be called from the module init function, so it cannot
be in the exit section.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_netlink.c

index fe3500bb34e4328f1cfd09086adbc13f5429fb37..7661261de2f0b8374469efdb64991c2a8fedf2a4 100644 (file)
@@ -123,7 +123,7 @@ int __init bond_netlink_init(void)
        return rtnl_link_register(&bond_link_ops);
 }
 
-void __exit bond_netlink_fini(void)
+void bond_netlink_fini(void)
 {
        rtnl_link_unregister(&bond_link_ops);
 }