diff options
author | Jian Shen <shenjian15@huawei.com> | 2021-03-26 09:36:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 14:58:44 -0700 |
commit | 43f8b9333d86d4e3a42e55a6e41c78c249ac0216 (patch) | |
tree | c56395c1bc9cd001937f05bfd796bbaf02dbcbfe /drivers/net/ethernet/hisilicon/hns3/hns3vf | |
parent | Merge tag 'mlx5-updates-2021-03-24' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | linux-dev-43f8b9333d86d4e3a42e55a6e41c78c249ac0216.tar.xz linux-dev-43f8b9333d86d4e3a42e55a6e41c78c249ac0216.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h index 8c27ecd819af..ade6e7f5be5b 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h @@ -192,7 +192,6 @@ struct hclgevf_tqp { }; struct hclgevf_cfg { - u8 vmdq_vport_num; u8 tc_num; u16 tqp_desc_num; u16 rx_buf_len; |