RE: [PATCH net-next] i40e: Make i40e_shutdown_adminq() return void
From: Kirsher, Jeffrey T
Date: Wed May 06 2020 - 20:51:20 EST
> -----Original Message-----
> From: David Miller <davem@xxxxxxxxxxxxx>
> Sent: Wednesday, May 6, 2020 14:03
> To: yanaijie@xxxxxxxxxx
> Cc: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>; Azarewicz, Piotr
> <piotr.azarewicz@xxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH net-next] i40e: Make i40e_shutdown_adminq() return void
>
> From: Jason Yan <yanaijie@xxxxxxxxxx>
> 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@xxxxxxxxxx>
>
> Jeff, please pick this up.
>
> Thank you.
[Kirsher, Jeffrey T]
Yep already added it to my queue, thanks.