[PATCH v2 08/10] app/test-pmd: remove redundant condition

Bruce Richardson bruce.richardson at intel.com
Fri Nov 15 10:08:46 CET 2024


On Thu, Nov 14, 2024 at 11:25:06AM -0800, Stephen Hemminger wrote:
> The loop over policy actions will always exit when it sees
> the flow end action, so the next check is redundant.
> 
> Link: https://pvs-studio.com/en/blog/posts/cpp/1179/
> 
> Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color")
> Cc: haifeil at nvidia.com
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list