Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k Mark a potentially unused variable



details:   https://anonhg.NetBSD.org/src/rev/17718c1446ec
branches:  trunk
changeset: 790887:17718c1446ec
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 20:53:02 2013 +0000

description:
Mark a potentially unused variable

diffstat:

 sys/arch/m68k/m68k/vm_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2f29636c1b51 -r 17718c1446ec sys/arch/m68k/m68k/vm_machdep.c
--- a/sys/arch/m68k/m68k/vm_machdep.c   Fri Oct 25 20:51:14 2013 +0000
+++ b/sys/arch/m68k/m68k/vm_machdep.c   Fri Oct 25 20:53:02 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.38 2012/02/19 21:06:15 rmind Exp $    */
+/*     $NetBSD: vm_machdep.c,v 1.39 2013/10/25 20:53:02 martin Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.38 2012/02/19 21:06:15 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.39 2013/10/25 20:53:02 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -149,7 +149,7 @@
 int
 vmapbuf(struct buf *bp, vsize_t len)
 {
-       struct pmap *upmap, *kpmap;
+       struct pmap *upmap, *kpmap __unused;
        vaddr_t uva;            /* User VA (map from) */
        vaddr_t kva;            /* Kernel VA (new to) */
        paddr_t pa;             /* physical address */



Home | Main Index | Thread Index | Old Index