net: hns3: remove unused code in hns3_self_test()
authorGuojia Liao <liaoguojia@huawei.com>
Tue, 29 Sep 2020 09:32:03 +0000 (17:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:14:24 +0000 (13:14 -0700)
commitbcc26e8dc4327d6b07e4f839c03340b83e7e174b
tree78496a7fbb1af15314e2b4fc4142c016bee66f10
parentfe735c84be2937b53f9011f0954c22f37b16d7de
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>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c