HomeFreeBSD

Remove redundancy in vmtotal().

Description

Remove redundancy in vmtotal().

There are two instances of inlined unlocks + continue in vmtotal()
switch statements, which are ordinary expressed with break from the
switch case and code after the switch. Also, the combination of
continue and break statement is redundand.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Dec 26 2016, 7:29 PM
Parents
rG5c36b2e8cb3b: Change knlist_destroy() to assert that knlist is empty instead of
Branches
Unknown
Tags
Unknown

Event Timeline