sparc64: for pointers replace 0 with NULL.
These are mostly cosmetical, no functional change. Found with devel/coccinelle.
This commit is contained in:
parent
d4a2eaef39
commit
8806325ade
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298047
@ -370,7 +370,7 @@ ebus_pci_attach(device_t dev)
|
||||
eri = &sc->sc_rinfo[i];
|
||||
if (i < rnum)
|
||||
rman_fini(&eri->eri_rman);
|
||||
if (eri->eri_res != 0) {
|
||||
if (eri->eri_res != NULL) {
|
||||
bus_release_resource(dev, eri->eri_rtype,
|
||||
PCIR_BAR(rnum), eri->eri_res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user