summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorstephen hemminger2013-12-29 20:41:25 +0100
committerDavid S. Miller2013-12-29 22:34:25 +0100
commitda131ddbffae0d225f36e0651b8cf7014a576c0e (patch)
tree116a485a16e79e906a8563b2372b841243d12ce1 /drivers/net/bonding/bond_main.c
parenttcp: make local functions static (diff)
downloadkernel-qcow2-linux-da131ddbffae0d225f36e0651b8cf7014a576c0e.tar.gz
kernel-qcow2-linux-da131ddbffae0d225f36e0651b8cf7014a576c0e.tar.xz
kernel-qcow2-linux-da131ddbffae0d225f36e0651b8cf7014a576c0e.zip
bonding: make local function static
bond_xmit_slave_id is only used in main. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-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 c0456cc86610..881fade98919 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3511,7 +3511,7 @@ unwind:
* it fails, it tries to find the first available slave for transmission.
* The skb is consumed in all cases, thus the function is void.
*/
-void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id)
+static void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id)
{
struct list_head *iter;
struct slave *slave;