Style: no need for braces around single-line then clause.

Reviewed by:	alc, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D16148
This commit is contained in:
Konstantin Belousov 2018-07-06 12:37:46 +00:00
parent 0a59db87e3
commit be7be41275

View File

@ -3155,9 +3155,8 @@ vm_map_delete(vm_map_t map, vm_offset_t start, vm_offset_t end)
* Unwire before removing addresses from the pmap; otherwise,
* unwiring will put the entries back in the pmap.
*/
if (entry->wired_count != 0) {
if (entry->wired_count != 0)
vm_map_entry_unwire(map, entry);
}
pmap_remove(map->pmap, entry->start, entry->end);