net: tulip: de4x5: make PCI_signature() return void
authorJason Yan <yanaijie@huawei.com>
Thu, 7 May 2020 11:08:47 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 20:04:21 +0000 (13:04 -0700)
commit27ad2cd2000298e5822a12012edda47d72fdb27e
tree5eae9b790cb5a2fd847e2f9264dda599275afab4
parentf9a98f901e19eb0fbd61c29cf38b75d210d276bc
net: tulip: de4x5: make PCI_signature() return void

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/de4x5.c