net: hns3: remove unused code of vmdq
authorJian Shen <shenjian15@huawei.com>
Fri, 26 Mar 2021 01:36:20 +0000 (09:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 21:58:44 +0000 (14:58 -0700)
commit43f8b9333d86d4e3a42e55a6e41c78c249ac0216
treec56395c1bc9cd001937f05bfd796bbaf02dbcbfe
parent026412ecac5d8e9112d19d463761611fbb207bca
net: hns3: remove unused code of vmdq

Vmdq is not supported yet, the num_vmdq_vport is always 0,
it's a bit confusing when using the num_vport, so remove
these unused codes of vmdq.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h