From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by dpdk.org (Postfix) with ESMTP id E9E3D28F3 for ; Wed, 11 Jan 2017 04:41:07 +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=1484106067; x=1485315667; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=jQ6/I/Qh4xopkLHEjfb03n/hM2ksjYA5tlPkyNCZG/o=; b=LW5C2mWad8+Dodb60zX+cLHoJWKq6U3PTCzIIN19tdDTAPmvgTYoZ+o6 p3wQRvDaWmAcppcDIAognq1fZ3sWz5Z+9HzaJT2hxVRDWMRONejMH0m3h CVqxOORWjkpjuYJIkZIqJsAZa+ZRBMzfv7Q2GTBvOiNWFNev6IUi3Hytr k=; X-IronPort-AV: E=Sophos;i="5.33,345,1477958400"; d="scan'208";a="193063487" Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Jan 2017 03:41:06 +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 v0B3f6Zo015749; Wed, 11 Jan 2017 03:41:06 GMT Received: by cisco.com (Postfix, from userid 392789) id B15783FAAE57; Tue, 10 Jan 2017 19:41:06 -0800 (PST) From: John Daley To: johnda888@gmail.com Cc: John Daley , stable@dpdk.org Date: Tue, 10 Jan 2017 19:41:04 -0800 Message-Id: <20170111034104.2787-2-johndale@cisco.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170111034104.2787-1-johndale@cisco.com> References: <20170111034104.2787-1-johndale@cisco.com> Subject: [dpdk-stable] [PATCH] net/enic: remove unnecessary function parameter attributes X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 03:41:10 -0000 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_ */ -- 2.10.0