HomeFreeBSD

vm_object: drop pointless assignment

Description

vm_object: drop pointless assignment

An assignment in collapse_scan() has become useless because, on every
path, another assignment to that variable overrides it before that
variable is read. Another assignment can be avoided sometimes, so
move it down in the loop to where it's really necessary.

Reviewed by: alc, markj
Differential Revision: https://reviews.freebsd.org/D49017

Details

Provenance
dougmAuthored on Feb 15 2025, 6:09 PM
Reviewer
alc
Differential Revision
D49017: vm_object: drop pointless assignment
Parents
rG9763fec11b83: net80211: use IEEE80211_KEY_UNDEFINED() insetad of checking they keyix
Branches
Unknown
Tags
Unknown