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

2020-05-07 Thread David Miller
From: Jason Yan 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

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

2020-05-07 Thread Jason Yan
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 ---