]> git.baikalelectronics.ru Git - 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)
commit56b7d57e7f6d64ac9909cff2ca84e47fa81d9d40
treeab26bfe3f595500b358aaac718aa4c7825f08d28
parent48b9428d52d7195cc4611ad99f1cf221be01f387
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