[dpdk-dev] [EXT] Re: [PATCH] test-compress-perf: fix unused-but-set-variable error

Akhil Goyal gakhil at marvell.com
Sun Oct 31 22:34:16 CET 2021


> On Fri, Oct 29, 2021 at 7:18 PM Jim Harris <james.r.harris at intel.com> wrote:
> >
> > clang-13 rightfully complains that the total_deq_ops
> > variable in cperf_cyclecount_op_setup is set but not
> > used, since the final accumulated total_deq_ops
> > results isn't used anywhere. So just remove the
> > total_deq_ops variable.
> 
> Unused from the start:
> Fixes: 2695db95a147 ("test/compress: add cycle-count mode to perf tool")
> 
> >
> > Signed-off-by: Jim Harris <james.r.harris at intel.com>
> Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list