commit | bcc26e8dc4327d6b07e4f839c03340b83e7e174b | [log] [tgz] |
---|---|---|
author | Guojia Liao <liaoguojia@huawei.com> | Tue Sep 29 17:32:03 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 29 13:14:24 2020 -0700 |
tree | 78496a7fbb1af15314e2b4fc4142c016bee66f10 | |
parent | fe735c84be2937b53f9011f0954c22f37b16d7de [diff] |
net: hns3: remove unused code in hns3_self_test() NETIF_F_HW_VLAN_CTAG_FILTER is not set in netdev->hw_feature, but set in netdev->features. So the handler of NETIF_F_HW_VLAN_CTAG_FILTER in hns3_self_test() is always true, remove it. Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>