Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev remove an unused variable.



details:   https://anonhg.NetBSD.org/src/rev/ec169e144628
branches:  trunk
changeset: 488101:ec169e144628
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jun 18 07:05:09 2000 +0000

description:
remove an unused variable.

diffstat:

 sys/arch/sparc64/dev/iommu.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 4e591fc9dca2 -r ec169e144628 sys/arch/sparc64/dev/iommu.c
--- a/sys/arch/sparc64/dev/iommu.c      Sun Jun 18 07:03:35 2000 +0000
+++ b/sys/arch/sparc64/dev/iommu.c      Sun Jun 18 07:05:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iommu.c,v 1.12 2000/06/12 05:27:27 mrg Exp $   */
+/*     $NetBSD: iommu.c,v 1.13 2000/06/18 07:05:09 mrg Exp $   */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -154,7 +154,6 @@
        struct iommu_state *is;
        int tsbsize;
 {
-       bus_space_handle_t vtsbp;
        psize_t size;
        vaddr_t va;
        paddr_t pa;
@@ -295,7 +294,7 @@
 
 #ifdef DIAGNOSTIC
        if (va < is->is_dvmabase)
-               panic("iommu_enter: va 0x%lx not in DVMA space",va);
+               panic("iommu_enter: va %#lx not in DVMA space", va);
 #endif
 
        tte = MAKEIOTTE(pa, !(flags&BUS_DMA_NOWRITE), !(flags&BUS_DMA_NOCACHE), 



Home | Main Index | Thread Index | Old Index