aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-13 15:02:35 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-13 15:02:35 -0400
commit64d683c5825003ffb3b127057a165e6bfc26691e (patch)
tree0c5090aadb4f666d915e12fde69c6a29e64f761c /drivers/net/bonding
parentrtnetlink: ops->get_tx_queue() cannot take a const 'tb'. (diff)
downloadlinux-dev-64d683c5825003ffb3b127057a165e6bfc26691e.tar.xz
linux-dev-64d683c5825003ffb3b127057a165e6bfc26691e.zip
bonding: Fixup get_tx_queue() op second arg type.
I missed this when fixing up the warning in the previous commit. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 53ee6a0a3681..bb928993db3a 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4820,7 +4820,7 @@ static int bond_validate(struct nlattr *tb[], struct nlattr *data[])
return 0;
}
-static int bond_get_tx_queues(struct net *net, const struct nlattr *tb[])
+static int bond_get_tx_queues(struct net *net, struct nlattr *tb[])
{
return tx_queues;
}