]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: hns3: remove some ops in struct hns3_nic_ops
authorYunsheng Lin <linyunsheng@huawei.com>
Sat, 23 Feb 2019 09:22:11 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:27:50 +0000 (20:27 -0800)
commitd40fa7eeab55dc1f0ab5f81d1c53af31dbcdd9ac
treeab26bfe3f595500b358aaac718aa4c7825f08d28
parent47e7b13b0aff869465585d36a8d5075fe17cb90a
net: hns3: remove some ops in struct hns3_nic_ops

The fill_desc ops has only one implementation, and
get_rxd_bnum has not been used, so this patch removes
them.

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_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h