From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A136A0350; Mon, 22 Jun 2020 09:11:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E2671D537; Mon, 22 Jun 2020 09:06:28 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9781A1D52B for ; Mon, 22 Jun 2020 09:06:21 +0200 (CEST) IronPort-SDR: JagGBCB7Rc4qQIill2w5AWF9g5S5cbcC66btiXNGCRLB0exokXKF9lt2ilj334C2PI6aHeX/lQ fEVqBt9mqmqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="141944864" X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="141944864" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 00:06:21 -0700 IronPort-SDR: daYF8yTknQNEh419Y+p6peMq1AtFm/O1/j9kTmJsWokLSEkcWxwfUnLK3LX0sIrGKEeKb6NYa+ E2j3CxCcxZ2Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="384409048" Received: from dpdk.sh.intel.com ([10.239.255.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:06:19 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Zhao1 Wei , Guinan Sun , Jeff Kirsher Date: Mon, 22 Jun 2020 06:45:58 +0000 Message-Id: <20200622064634.70941-35-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200622064634.70941-1-guinanx.sun@intel.com> References: <20200622064634.70941-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH 34/70] net/e1000/base: clean family specific functions from base X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Clean family specific functions. Signed-off-by: Jeff Kirsher Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_i210.c | 2 -- drivers/net/e1000/base/e1000_i225.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/net/e1000/base/e1000_i210.c b/drivers/net/e1000/base/e1000_i210.c index d4e4b527a..1126b2916 100644 --- a/drivers/net/e1000/base/e1000_i210.c +++ b/drivers/net/e1000/base/e1000_i210.c @@ -776,8 +776,6 @@ void e1000_init_function_pointers_i210(struct e1000_hw *hw) { e1000_init_function_pointers_82575(hw); hw->nvm.ops.init_params = e1000_init_nvm_params_i210; - - return; } /** diff --git a/drivers/net/e1000/base/e1000_i225.c b/drivers/net/e1000/base/e1000_i225.c index 5ace44546..ef47f1810 100644 --- a/drivers/net/e1000/base/e1000_i225.c +++ b/drivers/net/e1000/base/e1000_i225.c @@ -7,10 +7,8 @@ STATIC s32 e1000_reset_hw_i225(struct e1000_hw *hw); STATIC s32 e1000_acquire_nvm_i225(struct e1000_hw *hw); STATIC void e1000_release_nvm_i225(struct e1000_hw *hw); STATIC s32 e1000_get_hw_semaphore_i225(struct e1000_hw *hw); -#ifndef QV_RELEASE STATIC s32 __e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); -#endif /* QV_RELEASE */ STATIC s32 e1000_pool_flash_update_done_i225(struct e1000_hw *hw); STATIC s32 e1000_valid_led_default_i225(struct e1000_hw *hw, u16 *data); -- 2.17.1