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

Kirsher, Jeffrey T jeffrey.t.kirsher at intel.com
Thu May 7 00:51:16 UTC 2020


> -----Original Message-----
> From: David Miller <davem at davemloft.net>
> Sent: Wednesday, May 6, 2020 14:03
> To: yanaijie at huawei.com
> Cc: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; 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
> Subject: Re: [PATCH net-next] i40e: Make i40e_shutdown_adminq() return void
> 
> From: Jason Yan <yanaijie at huawei.com>
> Date: Wed, 6 May 2020 14:18:35 +0800
> 
> > 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>
> 
> Jeff, please pick this up.
> 
> Thank you.
[Kirsher, Jeffrey T] 

Yep already added it to my queue, thanks.


More information about the Intel-wired-lan mailing list