[Intel-wired-lan] [PATCH net-next] i40e: Make i40e_shutdown_adminq() return void

Bowers, AndrewX andrewx.bowers at intel.com
Thu May 7 20:51:53 UTC 2020


-----Original Message-----
From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jason Yan
Sent: Tuesday, May 5, 2020 11:19 PM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; davem at davemloft.net; Azarewicz, Piotr <piotr.azarewicz at intel.com>; intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org; linux-kernel at vger.kernel.org
Cc: Jason Yan <yanaijie at huawei.com>
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 <yanaijie at huawei.com>
---
 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 <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list