diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-12-29 23:41:25 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-30 01:34:25 +0400 |
commit | da131ddbffae0d225f36e0651b8cf7014a576c0e (patch) | |
tree | 116a485a16e79e906a8563b2372b841243d12ce1 /drivers/net/bonding | |
parent | f7e56a76acf642d21a8e7bd587e270ae7addc4db (diff) | |
download | linux-da131ddbffae0d225f36e0651b8cf7014a576c0e.tar.xz |
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')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 | ||||
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
2 files changed, 1 insertions, 2 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; diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 5886f07dc1f3..2897137e892f 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -417,7 +417,6 @@ struct bond_net; int bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave); int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); -void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id); int bond_create(struct net *net, const char *name); int bond_create_sysfs(struct bond_net *net); void bond_destroy_sysfs(struct bond_net *net); |