]> 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)
commitd8f941cdd496e6cc1a42cdb0016e5f1451f3d12f
treeab26bfe3f595500b358aaac718aa4c7825f08d28
parent05fc70cdb7b2cbdf03a4dd6698dd52bf4daf8033
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