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
F136952246: D20855.id.diff
Thu, Nov 20, 7:50 PM
F136950946: D20855.id59408.diff
Thu, Nov 20, 7:43 PM
F136950853: D20855.id59409.diff
Thu, Nov 20, 7:43 PM
F136950701: D20855.id59397.diff
Thu, Nov 20, 7:42 PM
F136948838: D20855.diff
Thu, Nov 20, 7:32 PM
Unknown Object (File)
Mon, Nov 10, 11:19 PM
Unknown Object (File)
Sun, Nov 2, 1:00 PM
Unknown Object (File)
Oct 21 2025, 5:30 PM
Subscribers

Details

Summary

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

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Jul 4 2019, 7:10 PM
vm_map.c
3284

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