]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove struct hns3_nic_ring_data in hns3_enet module
authorYunsheng Lin <linyunsheng@huawei.com>
Sat, 19 Oct 2019 08:03:49 +0000 (16:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2019 16:22:09 +0000 (09:22 -0700)
commite442a9ae4927fefbb29f2bc816bc9a4acd382356
tree64fe604d34bbd190a17ab5becdf9db205e6e8136
parent91f068e7e905441162aa8f28eeeaba6d4a15441a
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>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c