[dpdk-dev] [PATCH] pipeline: remove unreachable branch

Thomas Monjalon thomas at monjalon.net
Thu Nov 4 18:20:50 CET 2021


> > A previous change blamed it on compiler/ASan, while this is a real
> > (yet minor) issue.
> > 
> > This return -EINVAL is never reached since we test all combinations of
> > fidx and fcin booleans.
> > All branches end up with a return 0, factorize them.
> > 
> > Fixes: 84f5ac9418ea ("pipeline: fix build with ASan")
> > Fixes: f38913b7fb8e ("pipeline: add meter array to SWX")
> > 
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks





More information about the dev mailing list