[PATCH 01/16] common/cnxk: remove duplicate condition

2024-11-14 Thread Stephen Hemminger
The same condition is checked twice in an if statement. Harmless, but redundant. Link: https://pvs-studio.com/en/blog/posts/cpp/1183/ Signed-off-by: Stephen Hemminger --- drivers/common/cnxk/cnxk_security.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dr

RE: [EXTERNAL] [PATCH 01/16] common/cnxk: remove duplicate condition

2024-11-14 Thread Anoob Joseph
> The same condition is checked twice in an if statement. > Harmless, but redundant. > > Link: > https://urldefense.proofpoint.com/v2/url?u=https-3A__pvs-2Dstudio.com_en_blog_posts_cpp_1183_&d=DwIDAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=jPfB8rwwviRSxyLWs2n6B- > WYLn1v9SyTMrT5EQqh2TU&m=tCMuFtN3iZvm6NW4QbOzKC