svn commit: r336029 - head/sys/vm
Konstantin Belousov
kib at FreeBSD.org
Fri Jul 6 12:37:47 UTC 2018
Author: kib
Date: Fri Jul 6 12:37:46 2018
New Revision: 336029
URL: https://svnweb.freebsd.org/changeset/base/336029
Log:
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
Modified:
head/sys/vm/vm_map.c
Modified: head/sys/vm/vm_map.c
==============================================================================
--- head/sys/vm/vm_map.c Fri Jul 6 12:07:06 2018 (r336028)
+++ head/sys/vm/vm_map.c Fri Jul 6 12:37:46 2018 (r336029)
@@ -3155,9 +3155,8 @@ vm_map_delete(vm_map_t map, vm_offset_t start, vm_offs
* 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);
More information about the svn-src-all
mailing list