mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
risc-v: for pointers replace 0 with NULL.
These are mostly cosmetical, no functional change. Found with devel/coccinelle.
This commit is contained in:
parent
d9ca4bc073
commit
b93c97c14a
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
|
|||
}
|
||||
|
||||
rv = rman_reserve_resource(rm, start, end, count, flags, child);
|
||||
if (rv == 0)
|
||||
if (rv == NULL)
|
||||
return (NULL);
|
||||
|
||||
rman_set_rid(rv, *rid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue