[PATCH RESEND net-next 2/7] bonding: slight optimization for bond_3ad_xmit_xor()

2014-01-01 Thread Ding Tianhong
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 --- drivers/net/bonding/bond_3ad.c | 22 +++--- 1 file

[PATCH RESEND net-next 2/7] bonding: slight optimization for bond_3ad_xmit_xor()

2014-01-01 Thread Ding Tianhong
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 dingtianh...@huawei.com --- drivers/net/bonding/bond_3ad.c | 22