commit | 5f06b903cb0b85194e66675267b565d40a22026c | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Sat Oct 19 16:03:49 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 21 09:22:09 2019 -0700 |
tree | 64fe604d34bbd190a17ab5becdf9db205e6e8136 | |
parent | 2f184393e0c2d409c62262f57f2a57efdf9370b8 [diff] |
net: hns3: remove struct hns3_nic_ring_data in hns3_enet module Only the queue_index field in struct hns3_nic_ring_data is used, other field is unused and unnecessary for hns3 driver, so this patch removes it and move the queue_index field to hns3_enet_ring. This patch also removes an unused struct hns_queue declaration. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>