From: David S. Miller Date: Sat, 19 Oct 2013 23:09:18 +0000 (-0400) Subject: bonding: Remove __exit tag from bond_netlink_fini(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a729e83ad6f6de2cf11c0da4a5a7c0b3924d8335;p=linux-beck.git bonding: Remove __exit tag from bond_netlink_fini(). It can be called from the module init function, so it cannot be in the exit section. Signed-off-by: David S. Miller --- diff --git a/drivers/net/bonding/bond_netlink.c b/drivers/net/bonding/bond_netlink.c index fe3500bb34e4..7661261de2f0 100644 --- a/drivers/net/bonding/bond_netlink.c +++ b/drivers/net/bonding/bond_netlink.c @@ -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); }