]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 30 Jan 2020 15:24:08 +0000 (16:24 +0100)
commitc6a3703de83cae6bf2ef5f203d8c08f64a317194
tree3b9678f8c4ff0cd5f36fdfc7e8a0a28641d9b0d7
parentae9d6e6309a47c2f398e3716eed65ef1c626b777
net: hns3: remove struct hns3_nic_ring_data in hns3_enet module

BugLink: https://launchpad.net/bugs/1859261
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>
(cherry picked from commit 5f06b903cb0b85194e66675267b565d40a22026c)
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
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