> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Alexey Kodanev > Sent: Monday, February 26, 2024 6:51 PM > To: [email protected] > Cc: Alexey Kodanev <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next 2/2] i40e: remove unnecessary > qv_info ptr NULL checks > > The "qv_info" ptr cannot be NULL when it gets the address of > an element of the flexible array "qvlist_info->qv_info". > > Detected using the static analysis tool - Svace. > > Signed-off-by: Alexey Kodanev <[email protected]> > --- > drivers/net/ethernet/intel/i40e/i40e_client.c | 4 ---- > drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 ---- > 2 files changed, 8 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
