-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Jason 
Yan
Sent: Tuesday, May 5, 2020 11:19 PM
To: Kirsher, Jeffrey T <[email protected]>; [email protected]; 
Azarewicz, Piotr <[email protected]>; [email protected]; 
[email protected]; [email protected]
Cc: Jason Yan <[email protected]>
Subject: [Intel-wired-lan] [PATCH net-next] i40e: Make i40e_shutdown_adminq() 
return void

Fix the following coccicheck warning:

drivers/net/ethernet/intel/i40e/i40e_adminq.c:699:13-21: Unneeded
variable: "ret_code". Return "0" on line 710

Signed-off-by: Jason Yan <[email protected]>
---
 drivers/net/ethernet/intel/i40e/i40e_adminq.c    | 6 +-----
 drivers/net/ethernet/intel/i40e/i40e_prototype.h | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)


Tested-by: Andrew Bowers <[email protected]>


Reply via email to