diff options
author | dingtianhong <dingtianhong@huawei.com> | 2014-01-02 09:12:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-01 22:58:15 -0500 |
commit | a742e1f545c38efb769bd02b91f11b1c9acb6e56 (patch) | |
tree | 88908083f5c133a2845cce5d41a7b3db25b6b575 /drivers/net/bonding/bond_alb.c | |
parent | 815117adaf5b87155a73d2b4b9c556977bad51cb (diff) | |
download | lwn-a742e1f545c38efb769bd02b91f11b1c9acb6e56.tar.gz lwn-a742e1f545c38efb769bd02b91f11b1c9acb6e56.zip |
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 'drivers/net/bonding/bond_alb.c')
0 files changed, 0 insertions, 0 deletions