summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authordingtianhong2014-01-02 02:13:09 +0100
committerDavid S. Miller2014-01-02 04:58:55 +0100
commitd316dedd4dae67e58976b695d3d0405a9db45246 (patch)
tree7ccbfb555e2e136b5b7830aa3101b9d9edba1190 /drivers/net/bonding/bonding.h
parentbonding: slight optimizztion for bond_slave_override() (diff)
downloadkernel-qcow2-linux-d316dedd4dae67e58976b695d3d0405a9db45246.tar.gz
kernel-qcow2-linux-d316dedd4dae67e58976b695d3d0405a9db45246.tar.xz
kernel-qcow2-linux-d316dedd4dae67e58976b695d3d0405a9db45246.zip
bonding: remove unwanted return value for bond_dev_queue_xmit()
The return value for bond_dev_queue_xmit() will not be used anymore, so remove the return value. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 2897137e892f..e39d47725b4a 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -416,7 +416,7 @@ static inline bool slave_can_tx(struct slave *slave)
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_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
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);