From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Daley Subject: [PATCH] net/enic: remove unnecessary function parameter attributes Date: Tue, 10 Jan 2017 19:42:12 -0800 Message-ID: <20170111034212.5294-2-johndale@cisco.com> References: <20170111034212.5294-1-johndale@cisco.com> Cc: dev@dpdk.org, John Daley , stable@dpdk.org To: ferruh.yigit@intel.com Return-path: In-Reply-To: <20170111034212.5294-1-johndale@cisco.com> 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_ */ -- 2.10.0