summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorJonathan Toppins2015-01-26 07:17:01 +0100
committerDavid S. Miller2015-01-28 02:09:04 +0100
commit303691042d2fc996125f479cf01bd5ead8b90a16 (patch)
tree585a12ea9325e14b1b27fd73497873ddbc18d288 /drivers/net/bonding
parentbonding: fix LACP PDU not sent on slave port sometimes (diff)
downloadkernel-qcow2-linux-303691042d2fc996125f479cf01bd5ead8b90a16.tar.gz
kernel-qcow2-linux-303691042d2fc996125f479cf01bd5ead8b90a16.tar.xz
kernel-qcow2-linux-303691042d2fc996125f479cf01bd5ead8b90a16.zip
bonding: cleanup and remove dead code
fix sparse warning about non-static function drivers/net/bonding/bond_main.c:3737:5: warning: symbol 'bond_3ad_xor_xmit' was not declared. Should it be static? Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com> Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com> 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 beff00e7e110..e229a8657de8 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3734,7 +3734,7 @@ out:
* usable slave array is formed in the control path. The xmit function
* just calculates hash and sends the packet out.
*/
-int bond_3ad_xor_xmit(struct sk_buff *skb, struct net_device *dev)
+static int bond_3ad_xor_xmit(struct sk_buff *skb, struct net_device *dev)
{
struct bonding *bond = netdev_priv(dev);
struct slave *slave;