svn commit: r208608 - head/sys/mips/mips

Neel Natu neel at FreeBSD.org
Fri May 28 05:34:44 UTC 2010


Author: neel
Date: Fri May 28 05:34:43 2010
New Revision: 208608
URL: http://svn.freebsd.org/changeset/base/208608

Log:
  Get rid of unused variable 'virtual_sys_start'.

Modified:
  head/sys/mips/mips/pmap.c

Modified: head/sys/mips/mips/pmap.c
==============================================================================
--- head/sys/mips/mips/pmap.c	Fri May 28 02:00:15 2010	(r208607)
+++ head/sys/mips/mips/pmap.c	Fri May 28 05:34:43 2010	(r208608)
@@ -211,7 +211,6 @@ struct local_sysmaps {
  * bit mode this goes away.
  */
 static struct local_sysmaps sysmap_lmem[MAXCPU];
-caddr_t virtual_sys_start = (caddr_t)0;
 
 #define	PMAP_LMEM_MAP1(va, phys)					\
 	int cpu;							\
@@ -443,7 +442,7 @@ again:
 			PMAP_LGMEM_LOCK_INIT(&sysmap_lmem[i]);
 		}
 	}
-	virtual_sys_start = (caddr_t)virtual_avail;
+
 	/*
 	 * Allocate segment table for the kernel
 	 */


More information about the svn-src-all mailing list