diff options
author | 2020-05-14 20:41:26 +0800 | |
---|---|---|
committer | 2020-05-14 13:18:10 -0700 | |
commit | 5c6cfd309faa7a1958c14b937ba9b95abb1427de (patch) | |
tree | 8f24186b20cc6fa2f4869ed237129187bc3709b4 /kernel | |
parent | net: hns3: remove some unused macros (diff) | |
download | wireguard-linux-5c6cfd309faa7a1958c14b937ba9b95abb1427de.tar.xz wireguard-linux-5c6cfd309faa7a1958c14b937ba9b95abb1427de.zip |
net: hns3: remove unnecessary frag list checking in hns3_nic_net_xmit()
The skb_has_frag_list() in hns3_nic_net_xmit() is redundant, since
skb_walk_frags() includes this checking implicitly.
Reported-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions