OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e592b
)
bonding: Remove __exit tag from bond_netlink_fini().
author
David S. Miller
<davem@davemloft.net>
Sat, 19 Oct 2013 23:09:18 +0000
(19:09 -0400)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_netlink.c
b/drivers/net/bonding/bond_netlink.c
index
fe3500b
..
7661261
100644
(file)
--- 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);
}