On Thu, 14 May 2020 15:00:00 +0530 Hemant Agrawal <hemant.agra...@nxp.com> wrote:
> > +int > +rte_stats_bitrate_free(struct rte_stats_bitrates *bitrate_data) > +{ > + if (bitrate_data) > + rte_free(bitrate_data); > + return 0; > +} rte_free of NULL is allowed, the test is not needed. Should be void not int function.