]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita025444e73543245bceea4e7266fdca228727536
treeb800d7eb245e17405bdb71462631ecdcfb98a56e
parentf6c97ecce7111463d3ca8a40ac648b572ef35260
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