From a729e83ad6f6de2cf11c0da4a5a7c0b3924d8335 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 19 Oct 2013 19:09:18 -0400 Subject: [PATCH] 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 --- drivers/net/bonding/bond_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1