Re: [PATCH 05/16] net/i40e: remove duplicate code

2024-11-15 Thread Bruce Richardson
On Thu, Nov 14, 2024 at 10:05:42PM -0800, Stephen Hemminger wrote: > There are two branches in the cascading if/else that have same > condition and code; remove one. Update the code to follow DPDK > style where all statements in if should have brackets if any > leg requires them. > Not actually D

[PATCH 05/16] net/i40e: remove duplicate code

2024-11-14 Thread Stephen Hemminger
There are two branches in the cascading if/else that have same condition and code; remove one. Update the code to follow DPDK style where all statements in if should have brackets if any leg requires them. Link: https://pvs-studio.com/en/blog/posts/cpp/1183/ Signed-off-by: Stephen Hemminger ---