[dpdk-dev] [PATCH 1/2] mlx5: don't pass unused argument to sub-functions

Nelio Laranjeiro nelio.laranjeiro at 6wind.com
Wed Jan 3 08:35:23 CET 2018


Hi Stephen,

On Tue, Jan 02, 2018 at 12:53:09PM -0800, Stephen Hemminger wrote:
> Since wait_to_complete is unused, don't pass it to helper functions.
> Use the standard RTE macro to indicate this is an unused parameter.

I would suggest to use the (void) as it is done in the whole driver, a
specific patch should be done to use the rte_unused macro in all the
sources at once.

Thanks,

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list