summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-30 10:41:32 -0800
committerDavid S. Miller <davem@davemloft.net>2014-01-01 23:42:19 -0500
commit3678a9d86324e457d0ff9d898747ee7e787f4bb8 (patch)
treea32a9a46e4e5f891b10a82fb53c03586fa2f164b /include/net
parent47d1f71f56bd397bfa09c6b2a595991d1dd9c489 (diff)
downloadtalos-obmc-linux-3678a9d86324e457d0ff9d898747ee7e787f4bb8.tar.gz
talos-obmc-linux-3678a9d86324e457d0ff9d898747ee7e787f4bb8.zip
netlink: cleanup rntl_af_register
The function __rtnl_af_register is never called outside this code, and the return value is always 0. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/rtnetlink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h
index bb13a182fba6..8fb42070a2c1 100644
--- a/include/net/rtnetlink.h
+++ b/include/net/rtnetlink.h
@@ -115,10 +115,9 @@ struct rtnl_af_ops {
const struct nlattr *attr);
};
-int __rtnl_af_register(struct rtnl_af_ops *ops);
void __rtnl_af_unregister(struct rtnl_af_ops *ops);
-int rtnl_af_register(struct rtnl_af_ops *ops);
+void rtnl_af_register(struct rtnl_af_ops *ops);
void rtnl_af_unregister(struct rtnl_af_ops *ops);
struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
OpenPOWER on IntegriCloud