Page MenuHomeFreeBSD

replace 'goto' with 'else' in vm_map_wire_locked.
ClosedPublic

Authored by dougm on Jul 4 2019, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 5:11 PM
Unknown Object (File)
Apr 13 2026, 4:28 PM
Unknown Object (File)
Apr 13 2026, 8:25 AM
Unknown Object (File)
Apr 12 2026, 2:33 PM
Unknown Object (File)
Apr 12 2026, 11:30 AM
Unknown Object (File)
Apr 12 2026, 8:30 AM
Unknown Object (File)
Apr 11 2026, 7:42 PM
Unknown Object (File)
Apr 8 2026, 9:35 PM
Subscribers

Details

Summary

Eliminate a goto and a label. There is no change to the resulting amd64 machine code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 4 2019, 7:10 PM
vm_map.c
3287 ↗(On Diff #59397)

The comment suffices given the braces. You don't need the semicolon.

This revision now requires review to proceed.Jul 4 2019, 7:15 PM
This revision is now accepted and ready to land.Jul 4 2019, 7:16 PM