From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id ED7016833 for ; Tue, 15 Jan 2019 06:39:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2019 21:39:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,480,1539673200"; d="scan'208";a="127792993" Received: from dipei-st-npg.sh.intel.com ([10.67.110.220]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2019 21:39:29 -0800 From: Andy Pei To: dev@dpdk.org Cc: rosen.xu@intel.com, tianfei.zhang@intel.com, andy.pei@intel.com Date: Tue, 15 Jan 2019 13:38:00 +0800 Message-Id: <1547530680-423006-1-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1545746524-116580-1-git-send-email-andy.pei@intel.com> References: <1545746524-116580-1-git-send-email-andy.pei@intel.com> Subject: [dpdk-dev] [DPDK] [PATCH v4] 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: Tue, 15 Jan 2019 05:39:32 -0000 fix a typo and delete code of unused function Fixes: 88c9eb7cb4b5 (\"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 * @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