Page MenuHomeFreeBSD

vm_object: drop pointless assignment
ClosedPublic

Authored by dougm on Feb 14 2025, 10:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 31, 6:19 AM
Unknown Object (File)
Fri, Oct 31, 1:02 AM
Unknown Object (File)
Fri, Oct 31, 1:02 AM
Unknown Object (File)
Fri, Oct 31, 1:02 AM
Unknown Object (File)
Thu, Oct 30, 8:03 PM
Unknown Object (File)
Wed, Oct 29, 5:09 PM
Unknown Object (File)
Wed, Oct 29, 5:09 PM
Unknown Object (File)
Wed, Oct 29, 5:09 PM
Subscribers

Details

Summary

An assignment in collapse_scan() has become useless because, on every path, another assignment to that variable overrides it before that variable is read.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm created this revision.
This revision is now accepted and ready to land.Feb 15 2025, 3:55 PM
sys/vm/vm_object.c
1705–1706

You can also defer this assignment.

This revision was automatically updated to reflect the committed changes.