From: John Daley Date: Wed, 11 Jan 2017 03:42:12 +0000 (-0800) Subject: net/enic: remove unnecessary function parameter attributes X-Git-Tag: spdx-start~4832 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9d0fe07b4ecbd8ab94df3f44713819fd8d359aa5;p=dpdk.git net/enic: remove unnecessary function parameter attributes Remove __rte_unused attributes in function declaration when the parameters really are used. Fixes: dfbd6a9cb504 ("net/enic: extend flow director support for 1300 series") Signed-off-by: John Daley --- diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h index 865cd76e59..7ff994b36e 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_ */