svn commit: r248277 - head/sys/vm

Konstantin Belousov kib at FreeBSD.org
Thu Mar 14 19:50:10 UTC 2013


Author: kib
Date: Thu Mar 14 19:50:09 2013
New Revision: 248277
URL: http://svnweb.freebsd.org/changeset/base/248277

Log:
  Remove excessive and inconsistent initializers for the various kernel
  maps and submaps.
  
  MFC after:	2 weeks

Modified:
  head/sys/vm/vm_kern.c

Modified: head/sys/vm/vm_kern.c
==============================================================================
--- head/sys/vm/vm_kern.c	Thu Mar 14 19:48:25 2013	(r248276)
+++ head/sys/vm/vm_kern.c	Thu Mar 14 19:50:09 2013	(r248277)
@@ -85,11 +85,11 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm_extern.h>
 #include <vm/uma.h>
 
-vm_map_t kernel_map=0;
-vm_map_t kmem_map=0;
-vm_map_t exec_map=0;
+vm_map_t kernel_map;
+vm_map_t kmem_map;
+vm_map_t exec_map;
 vm_map_t pipe_map;
-vm_map_t buffer_map=0;
+vm_map_t buffer_map;
 
 const void *zero_region;
 CTASSERT((ZERO_REGION_SIZE & PAGE_MASK) == 0);


More information about the svn-src-all mailing list