commit | a742e1f545c38efb769bd02b91f11b1c9acb6e56 | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Thu Jan 02 09:12:59 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 01 22:58:15 2014 -0500 |
tree | 88908083f5c133a2845cce5d41a7b3db25b6b575 | |
parent | 815117adaf5b87155a73d2b4b9c556977bad51cb [diff] |
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>