From patchwork Wed Jan 11 03:42:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John Daley (johndale)" X-Patchwork-Id: 19098 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 14920F612; Wed, 11 Jan 2017 04:42:56 +0100 (CET) Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by dpdk.org (Postfix) with ESMTP id 69C9B5A29; Wed, 11 Jan 2017 04:42:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1119; q=dns/txt; s=iport; t=1484106146; x=1485315746; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=jQ6/I/Qh4xopkLHEjfb03n/hM2ksjYA5tlPkyNCZG/o=; b=ix/+QCSo2tiFyTlJIHC6ZvJflgna5YEno4JwsQT7yYxwL+l7/LgjzYl5 sQUDflRA30gQNobTApNyVFl7dMNUkPSV5aDUTxFbMpuQu8q/VH1vio0j8 trLKI8rs8oNDpF/fFE393PV09/nQAA1riZhe1RcmaSswDtagp1xwXEfdO E=; X-IronPort-AV: E=Sophos;i="5.33,345,1477958400"; d="scan'208";a="193136468" Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Jan 2017 03:42:25 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id v0B3gPJD016702; Wed, 11 Jan 2017 03:42:25 GMT Received: by cisco.com (Postfix, from userid 392789) id 290B33FAAE57; Tue, 10 Jan 2017 19:42:25 -0800 (PST) From: John Daley To: ferruh.yigit@intel.com Cc: dev@dpdk.org, John Daley , stable@dpdk.org Date: Tue, 10 Jan 2017 19:42:12 -0800 Message-Id: <20170111034212.5294-2-johndale@cisco.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170111034212.5294-1-johndale@cisco.com> References: <20170111034212.5294-1-johndale@cisco.com> Subject: [dpdk-dev] [PATCH] net/enic: remove unnecessary function parameter attributes 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" Remove __rte_unused attributes in function declaration when the parameters really are used. Fixes: dfbd6a9cb504 ("net/enic: extend flow director support for 1300 series") CC: stable@dpdk.org Signed-off-by: John Daley --- drivers/net/enic/enic.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h index 865cd76..7ff994b 100644 --- a/drivers/net/enic/enic.h +++ b/drivers/net/enic/enic.h @@ -301,8 +301,7 @@ int enic_link_update(struct enic *enic); void enic_fdir_info(struct enic *enic); void enic_fdir_info_get(struct enic *enic, struct rte_eth_fdir_info *stats); void copy_fltr_v1(struct filter_v2 *fltr, struct rte_eth_fdir_input *input, - struct rte_eth_fdir_masks *masks); -void copy_fltr_v2(__rte_unused struct filter_v2 *fltr, - __rte_unused struct rte_eth_fdir_input *input, __rte_unused struct rte_eth_fdir_masks *masks); +void copy_fltr_v2(struct filter_v2 *fltr, struct rte_eth_fdir_input *input, + struct rte_eth_fdir_masks *masks); #endif /* _ENIC_H_ */