Fix unreachable code in wi_pci_resume().
PR: 217784 Submitted by: Svyatoslav <razmyslov at viva64.com> Found by: PVS-Studio
This commit is contained in:
parent
beeed5993e
commit
354d72b4f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315294
@ -254,8 +254,8 @@ wi_pci_resume(device_t dev)
|
||||
|
||||
WI_LOCK(sc);
|
||||
if (sc->wi_bus_type != WI_BUS_PCI_NATIVE) {
|
||||
return (0);
|
||||
WI_UNLOCK(sc);
|
||||
return (0);
|
||||
}
|
||||
if (ic->ic_nrunning > 0)
|
||||
wi_init(sc);
|
||||
|
Loading…
Reference in New Issue
Block a user