bonding: slight optimization for bond_alb_xmit()
authordingtianhong <dingtianhong@huawei.com>
Thu, 2 Jan 2014 01:13:02 +0000 (09:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:58:15 +0000 (22:58 -0500)
commit4d4ac1b0927c046413f0e92c38a833335a2d7590
treeb800d7eb245e17405bdb71462631ecdcfb98a56e
parenta742e1f545c38efb769bd02b91f11b1c9acb6e56
bonding: slight optimization for bond_alb_xmit()

The bond_alb_xmit will check the return value for
bond_dev_queue_xmit() every time, but the bond_dev_queue_xmit()
is always return 0, it is no need to check the value every time,
so remove the unneed judgement for the xmit path.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c