net/netvsc: remove unused function hn_vf_reset()
PATCH 1/1 net/netvsc: remove unused function hn_vf_reset()
From: Long Li <[email protected]>
hn_vf_reset() is defined but not used. Remove it.
Signed-off-by Long Li <[email protected]>
--- drivers/net/netvsc/hn_var.h | 1 - drivers/net/netvsc/hn_vf.c | 5 ----- 2 files changed, 6 deletions(-)
drivers/net/netvsc/hn_var.h +0 -1
@@ -248,7 +248,6 @@ int hn_vf_configure_locked(struct rte_eth_dev *dev, const struct rte_eth_conf *dev_conf);const uint32_t *hn_vf_supported_ptypes (struct rte_eth_dev *dev);int hn_vf_start (struct rte_eth_dev *dev); -void hn_vf_reset (struct rte_eth_dev *dev);int hn_vf_close (struct rte_eth_dev *dev);int hn_vf_stop (struct rte_eth_dev *dev);
drivers/net/netvsc/hn_vf.c +0 -5
@@ -534,11 +534,6 @@ int hn_vf_stop(struct rte_eth_dev *dev)return ret; \ } -void hn_vf_reset (struct rte_eth_dev *dev) -{ -VF_ETHDEV_FUNC (dev, rte_eth_dev_reset); -} -int hn_vf_close (struct rte_eth_dev *dev) {int ret =0 ;
Signature · 1 line
2.17.1
Quoted 5 lines · On Tue, 11 Jul 2023 12:12:30 -0700 [email protected] wrote:
From: Long Li <[email protected]>
hn_vf_reset()is defined but not used. Remove it.Signed-off-by Long Li <[email protected]>
Ferruh Yigit
AppliedQuoted 11 lines · Stephen Hemminger
Quoted 5 lines · On Tue, 11 Jul 2023 12:12:30 -0700 [email protected] wrote:
From: Long Li <[email protected]>
hn_vf_reset()is defined but not used. Remove it.Signed-off-by Long Li <[email protected]>
Applied to dpdk-next-net/main, thanks.