rtnetlink & bonding: change args got get_tx_queues
authorstephen hemminger <shemminger@vyatta.com>
Tue, 10 Apr 2012 18:34:43 +0000 (18:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 17:31:00 +0000 (13:31 -0400)
commitefacb309b50073a79ae604949a31509cd8b507ab
tree98fa69062e8e0cbaecbe069f9fef18f1917e1e65
parent302846e3a692131a99b462078fe232ca2927b9d3
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>
drivers/net/bonding/bond_main.c
include/net/rtnetlink.h
net/core/rtnetlink.c