HomeFreeBSD

Now that the PRESENT_STATE register is only used for the inhibit bits loop

Description

Now that the PRESENT_STATE register is only used for the inhibit bits loop
in this function, eliminate the state variable and restructure the loop to
read the register just once at the top of the loop.

Suggested by: skra

Details

Provenance
ianAuthored on Jan 8 2017, 6:28 PM
Parents
rG012039fd559e: Fix logic error in gvinum's gv_set_sd_state()
Branches
Unknown
Tags
Unknown

Event Timeline