Re: [PATCH net-next] net: tulip: de4x5: make PCI_signature() return void

From: David Miller
Date: Thu May 07 2020 - 16:04:43 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Thu, 7 May 2020 19:08:47 +0800

> This function always return 0 now, we can make it return void to
> simplify the code. This fixes the following coccicheck warning:
>
> drivers/net/ethernet/dec/tulip/de4x5.c:3908:11-17: Unneeded variable:
> "status". Return "0" on line 3912
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied.