diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-12-30 10:41:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-01 23:42:19 -0500 |
commit | 3678a9d86324e457d0ff9d898747ee7e787f4bb8 (patch) | |
tree | a32a9a46e4e5f891b10a82fb53c03586fa2f164b /include/net | |
parent | 47d1f71f56bd397bfa09c6b2a595991d1dd9c489 (diff) | |
download | talos-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.h | 3 |
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[]); |