[dpdk-dev] [PATCH] eal: fix unused-but-set-variable error

David Marchand david.marchand at redhat.com
Thu Nov 4 13:19:02 CET 2021


On Fri, Oct 29, 2021 at 8:48 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> On Fri, Oct 29, 2021 at 7:17 PM Jim Harris <james.r.harris at intel.com> wrote:
> >
> > clang-13 rightfully complains that the total_mem
> > variable in eal_parse_socket_arg is set but not
> > used, since the final accumulated total_mem
> > result isn't used anywhere. So just remove the
> > total_mem variable.
>
> Fixes: 0a703f0f36c1 ("eal/linux: fix parsing zero socket memory and limits")
>
> > Signed-off-by: Jim Harris <james.r.harris at intel.com>
> Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list