[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DM5PR11MB16594FEB630E54642174701B8CA50@DM5PR11MB1659.namprd11.prod.outlook.com>
Date: Thu, 7 May 2020 20:51:53 +0000
From: "Bowers, AndrewX" <andrewx.bowers@...el.com>
To: "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [Intel-wired-lan] [PATCH net-next] i40e: Make
i40e_shutdown_adminq() return void
-----Original Message-----
From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Jason Yan
Sent: Tuesday, May 5, 2020 11:19 PM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>; davem@...emloft.net; Azarewicz, Piotr <piotr.azarewicz@...el.com>; intel-wired-lan@...ts.osuosl.org; netdev@...r.kernel.org; linux-kernel@...r.kernel.org
Cc: Jason Yan <yanaijie@...wei.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@...wei.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@...el.com>
Powered by blists - more mailing lists