commit | 996aade998ac0e9f6f0bf09531c32f1106d9d559 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat May 30 09:08:32 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat May 30 17:41:22 2020 -0700 |
tree | 83af4e26b3413b1b2df7727b85e4527ea7fe0db8 | |
parent | 2adb8187e5439e5066c9893586e5079e89f9060a [diff] |
net: hns3: remove some unused codes in hns3_nic_set_features() NETIF_F_HW_VLAN_CTAG_FILTER is not set in netdev->hw_feature for the HNS3 driver, so the handler of NETIF_F_HW_VLAN_CTAG_FILTER in hns3_nic_set_features() won't be called, remove it. Reported-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>