mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
intpm(4): While here, remove redundant 'res' check
Reported by: avg Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
4572fb3faf
commit
02e015aa38
1 changed files with 0 additions and 4 deletions
|
|
@ -185,10 +185,6 @@ sb8xx_attach(device_t dev)
|
|||
device_printf(dev, "bus_set_resource for SMBus IO failed\n");
|
||||
return (ENXIO);
|
||||
}
|
||||
if (res == NULL) {
|
||||
device_printf(dev, "bus_alloc_resource for SMBus IO failed\n");
|
||||
return (ENXIO);
|
||||
}
|
||||
sc->io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->io_rid,
|
||||
RF_ACTIVE);
|
||||
if (sc->io_res == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue