summaryrefslogtreecommitdiff
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-10-19 19:09:18 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:09:18 -0400
commita729e83ad6f6de2cf11c0da4a5a7c0b3924d8335 (patch)
tree41f644f838e6d9bbf0bd94f83218c9631877c9e9 /drivers/net/bonding
parent97e592bd29cdadfb544f7850ad873b87d277b1ab (diff)
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 <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_netlink.c2
1 files changed, 1 insertions, 1 deletions
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);
}