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

2024-11-15 Thread Ajit Khaparde
On Fri, Nov 15, 2024 at 12:08 PM 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

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

2024-11-15 Thread Stephen Hemminger
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: haif...@nvidia.com Signed-off-by: Stephen Hemminger Acked