bonding: slight optimization for bond_3ad_xmit_xor()
authordingtianhong <dingtianhong@huawei.com>
Thu, 2 Jan 2014 01:12:59 +0000 (09:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:58:15 +0000 (22:58 -0500)
commita742e1f545c38efb769bd02b91f11b1c9acb6e56
tree88908083f5c133a2845cce5d41a7b3db25b6b575
parent815117adaf5b87155a73d2b4b9c556977bad51cb
bonding: slight optimization for bond_3ad_xmit_xor()

The bond_dev_queue_xmit() will always return 0, and as a fast path,
it is inappropriate to check the res value when xmit every package,
so remove the res check and avoid once judgement for xmit.

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