HomeFreeBSD

stand: dev can't be NULL in default_prasedev

Description

stand: dev can't be NULL in default_prasedev

We pass in the address of a variable to store this value always in the
only place that calls this function, so there is no need to test for NULL.

Sponsored by: Netflix
Notied by: tsoome in D38041

(cherry picked from commit 4883f347f6ed9a61f9789a3842077580250ebf44)

Details

Provenance
impAuthored on Jan 13 2023, 10:44 PM
Parents
rGf9ab67f200a4: kboot: Use standard set_currdev
Branches
Unknown
Tags
Unknown