mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 10:09:30 +00:00
Avoid useless check against NULL, since we assign the checked value
to the var anyways. Reviewed by: bde
This commit is contained in:
parent
53ad332522
commit
821f9a8eba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61512
@ -318,10 +318,7 @@ int alpha_setup_intr(int vector, driver_intr_t *intr, void *arg,
|
||||
i->vector = vector;
|
||||
i->intr = intr;
|
||||
i->arg = arg;
|
||||
if (cntp)
|
||||
i->cntp = cntp;
|
||||
else
|
||||
i->cntp = NULL;
|
||||
i->cntp = cntp;
|
||||
|
||||
s = splhigh();
|
||||
LIST_INSERT_HEAD(&alpha_intr_hash[h], i, list);
|
||||
|
Loading…
Reference in New Issue
Block a user