From: David S. Miller Date: Wed, 6 Feb 2013 20:54:38 +0000 (-0500) Subject: 6lowpan: Remove __init tag from lowpan_netlink_fini(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a07fdceccf9d9f1b87f781e9a87662182e590d70;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 6lowpan: Remove __init tag from lowpan_netlink_fini(). It's called from both __init and __exit code, so neither tag is appropriate. Signed-off-by: David S. Miller --- diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 09cba81d2c4a..f62c3b963f95 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c @@ -1267,7 +1267,7 @@ static inline int __init lowpan_netlink_init(void) return rtnl_link_register(&lowpan_link_ops); } -static inline void __init lowpan_netlink_fini(void) +static inline void lowpan_netlink_fini(void) { rtnl_link_unregister(&lowpan_link_ops); }