diff options
author | dingtianhong <dingtianhong@huawei.com> | 2014-01-02 05:12:59 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-02 07:58:15 +0400 |
commit | a742e1f545c38efb769bd02b91f11b1c9acb6e56 (patch) | |
tree | 88908083f5c133a2845cce5d41a7b3db25b6b575 /virt | |
parent | 815117adaf5b87155a73d2b4b9c556977bad51cb (diff) | |
download | linux-a742e1f545c38efb769bd02b91f11b1c9acb6e56.tar.xz |
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions