Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 16:04:16 UTC 2013

Modified Files:
        src/sys/arch/sparc64/sparc64: vm_machdep.c

Log Message:
Remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/sparc64/sparc64/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/sparc64/vm_machdep.c
diff -u src/sys/arch/sparc64/sparc64/vm_machdep.c:1.99 src/sys/arch/sparc64/sparc64/vm_machdep.c:1.100
--- src/sys/arch/sparc64/sparc64/vm_machdep.c:1.99	Sun Feb 19 21:06:32 2012
+++ src/sys/arch/sparc64/sparc64/vm_machdep.c	Sun Sep 15 16:04:16 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: vm_machdep.c,v 1.99 2012/02/19 21:06:32 rmind Exp $ */
+/*	$NetBSD: vm_machdep.c,v 1.100 2013/09/15 16:04:16 martin Exp $ */
 
 /*
  * Copyright (c) 1996-2002 Eduardo Horvath.  All rights reserved.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.99 2012/02/19 21:06:32 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.100 2013/09/15 16:04:16 martin Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -79,7 +79,7 @@ __KERNEL_RCSID(0, "$NetBSD: vm_machdep.c
 int
 vmapbuf(struct buf *bp, vsize_t len)
 {
-	struct pmap *upmap, *kpmap;
+	struct pmap *upmap;
 	vaddr_t uva;	/* User VA (map from) */
 	vaddr_t kva;	/* Kernel VA (new to) */
 	paddr_t pa; 	/* physical address */
@@ -96,7 +96,6 @@ vmapbuf(struct buf *bp, vsize_t len)
 	bp->b_data = (void *)(kva + off);
 
 	upmap = vm_map_pmap(&bp->b_proc->p_vmspace->vm_map);
-	kpmap = vm_map_pmap(kernel_map);
 	do {
 		if (pmap_extract(upmap, uva, &pa) == FALSE)
 			panic("vmapbuf: null page frame");

Reply via email to