From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F39E042E49; Tue, 11 Jul 2023 21:12:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82B7140A7D; Tue, 11 Jul 2023 21:12:37 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E40954003C for ; Tue, 11 Jul 2023 21:12:35 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1004) id 2720A21C3F06; Tue, 11 Jul 2023 12:12:35 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2720A21C3F06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxonhyperv.com; s=default; t=1689102755; bh=ER5YokC7iYgGjFTYk8aYYlMf9A6hthbAu79hx+QbEdM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=G+gnSwTBBq5gMW0pnDBvav2p507ZKjNEbo1FXeCUU9+Y86W4MnXRbyNk5La+oLVDM DJuo9dDwzKEtVm5XM6kxFDHaUDFOBztPR2HJVFW36R9ooIpHcPpTOUM0MHTliqvMFU YQPcLimvtjWW3wAkvFAz7AZ2wOnIXgHibYt5ePTQ= From: longli@linuxonhyperv.com To: Ferruh Yigit , Andrew Rybchenko Cc: dev@dpdk.org, Ajay Sharma , Long Li Subject: [PATCH] net/netvsc: remove unused function hn_vf_reset() Date: Tue, 11 Jul 2023 12:12:30 -0700 Message-Id: <1689102750-4091-1-git-send-email-longli@linuxonhyperv.com> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: longli@microsoft.com Errors-To: dev-bounces@dpdk.org From: Long Li hn_vf_reset() is defined but not used. Remove it. Signed-off-by: Long Li --- drivers/net/netvsc/hn_var.h | 1 - drivers/net/netvsc/hn_vf.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/drivers/net/netvsc/hn_var.h b/drivers/net/netvsc/hn_var.h index 98a3b83033..e1f8e69a28 100644 --- a/drivers/net/netvsc/hn_var.h +++ b/drivers/net/netvsc/hn_var.h @@ -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); diff --git a/drivers/net/netvsc/hn_vf.c b/drivers/net/netvsc/hn_vf.c index 40981706d5..782395d805 100644 --- a/drivers/net/netvsc/hn_vf.c +++ b/drivers/net/netvsc/hn_vf.c @@ -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; -- 2.17.1