diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-04-10 14:34:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 13:31:00 -0400 |
commit | efacb309b50073a79ae604949a31509cd8b507ab (patch) | |
tree | 98fa69062e8e0cbaecbe069f9fef18f1917e1e65 /include/net/rtnetlink.h | |
parent | 302846e3a692131a99b462078fe232ca2927b9d3 (diff) |
rtnetlink & bonding: change args got get_tx_queues
Change get_tx_queues, drop unsused arg/return value real_tx_queues,
and use return by value (with error) rather than call by reference.
Probably bonding should just change to LLTX and the whole get_tx_queues
API could disappear!
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 370293901971..58243739212c 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h | |||
@@ -75,9 +75,8 @@ struct rtnl_link_ops { | |||
75 | size_t (*get_xstats_size)(const struct net_device *dev); | 75 | size_t (*get_xstats_size)(const struct net_device *dev); |
76 | int (*fill_xstats)(struct sk_buff *skb, | 76 | int (*fill_xstats)(struct sk_buff *skb, |
77 | const struct net_device *dev); | 77 | const struct net_device *dev); |
78 | int (*get_tx_queues)(struct net *net, struct nlattr *tb[], | 78 | int (*get_tx_queues)(struct net *net, |
79 | unsigned int *tx_queues, | 79 | const struct nlattr *tb[]); |
80 | unsigned int *real_tx_queues); | ||
81 | }; | 80 | }; |
82 | 81 | ||
83 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); | 82 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); |