No need to check ifi->active for NULL when looking for duplicate/obsolete
authorkrw <krw@openbsd.org>
Wed, 24 Feb 2021 16:27:05 +0000 (16:27 +0000)
committerkrw <krw@openbsd.org>
Wed, 24 Feb 2021 16:27:05 +0000 (16:27 +0000)
commit02a4417fb4e958701fa1c0acefe2951cbe502821
treedaa6fce6f8c0a980e920729ea5ef172e88e139e6
parent473be3795d61b61b69cf056c3f73b372c65f449a
No need to check ifi->active for NULL when looking for duplicate/obsolete
leases. It can't be NULL, and is unconditionally dereferenced a few lines
later anyway.
sbin/dhclient/dhclient.c