From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BD4FE9E4 for ; Thu, 17 Jan 2019 06:37:02 +0100 (CET) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2019 21:37:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,488,1539673200"; d="scan'208";a="267775942" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.110.206]) by orsmga004.jf.intel.com with ESMTP; 16 Jan 2019 21:37:00 -0800 Date: Thu, 17 Jan 2019 13:36:58 +0800 From: Ye Xiaolong To: Andy Pei Cc: dev@dpdk.org, rosen.xu@intel.com, tianfei.zhang@intel.com Message-ID: <20190117053658.GA50997@intel.com> References: <1547530680-423006-1-git-send-email-andy.pei@intel.com> <1547702777-186267-1-git-send-email-andy.pei@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547702777-186267-1-git-send-email-andy.pei@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [DPDK] raw/ifpga: fix a typo and delete code of unused function 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: , X-List-Received-Date: Thu, 17 Jan 2019 05:37:03 -0000 On 01/17, Andy Pei wrote: >fix a typo and delete code of unused function > >Cc: andy.pei@intel.com >Cc: rosen.xu@intel.com >Cc: tianfei.zhang@intel.com > >Signed-off-by: Andy Pei >--- > drivers/raw/ifpga_rawdev/base/opae_hw_api.c | 24 +----------------------- > 1 file changed, 1 insertion(+), 23 deletions(-) > >diff --git a/drivers/raw/ifpga_rawdev/base/opae_hw_api.c b/drivers/raw/ifpga_rawdev/base/opae_hw_api.c >index 50f6438..ea42757 100644 >--- a/drivers/raw/ifpga_rawdev/base/opae_hw_api.c >+++ b/drivers/raw/ifpga_rawdev/base/opae_hw_api.c >@@ -304,7 +304,7 @@ static struct opae_adapter_ops *match_ops(struct opae_adapter *adapter) > > /** > * opae_adapter_init - init opae_adapter data structure >- * @adpdate: pointer of opae_adater data structure >+ * @adapter: pointer of opae_adater data structure Seems there is another typo here, s/opae_adater/opae_adapter/ Thanks, Xiaolong > * @name: adapter name. > * @data: private data of this adapter. > * >@@ -325,28 +325,6 @@ int opae_adapter_init(struct opae_adapter *adapter, > } > > /** >- * opae_adapter_alloc - alloc opae_adapter data structure >- * @name: adapter name. >- * @data: private data of this adapter. >- * >- * Return: opae_adapter on success, otherwise NULL. >- */ >- /**This function will no longer be called. >-struct opae_adapter *opae_adapter_alloc(const char *name, void *data) >-{ >- struct opae_adapter *adapter = opae_zmalloc(sizeof(*adapter)); >- >- if (!adapter) >- return NULL; >- >- if (opae_adapter_init(adapter, name, data)) >- return NULL; >- >- return adapter; >-} >-**/ >- >-/** > * opae_adapter_enumerate - enumerate this adapter > * @adapter: adapter to enumerate. > * >-- >1.8.3.1 >