Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2018 12:37:46 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336029 - head/sys/vm
Message-ID:  <201807061237.w66Cbkod059333@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807061237.w66Cbkod059333>