Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/9b120acd7ae9
branches: trunk
changeset: 790066:9b120acd7ae9
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 15:51:23 2013 +0000
description:
Remove unused variable
diffstat:
sys/uvm/uvm_emap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r d4df6655d9c6 -r 9b120acd7ae9 sys/uvm/uvm_emap.c
--- a/sys/uvm/uvm_emap.c Sun Sep 15 15:49:38 2013 +0000
+++ b/sys/uvm/uvm_emap.c Sun Sep 15 15:51:23 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_emap.c,v 1.9 2012/04/13 15:33:38 yamt Exp $ */
+/* $NetBSD: uvm_emap.c,v 1.10 2013/09/15 15:51:23 martin Exp $ */
/*-
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.9 2012/04/13 15:33:38 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.10 2013/09/15 15:51:23 martin Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -116,12 +116,12 @@
uvm_emap_sysinit(void)
{
struct uvm_cpu *ucpu;
- size_t qmax;
+ /* size_t qmax; */
u_int i;
uvm_emap_size = roundup(uvm_emap_size, PAGE_SIZE);
+#if 0
qmax = 16 * PAGE_SIZE;
-#if 0
uvm_emap_va = uvm_km_alloc(kernel_map, uvm_emap_size, 0,
UVM_KMF_VAONLY | UVM_KMF_WAITVA);
if (uvm_emap_va == 0) {
Home |
Main Index |
Thread Index |
Old Index