Avoid useless check against NULL, since we assign the checked value

to the var anyways.

Reviewed by:	bde
This commit is contained in:
Alexander Langer 2000-06-10 19:48:19 +00:00
parent 53ad332522
commit 821f9a8eba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61512

View File

@ -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);