Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/prep/prep * GC two unused variables.
details: https://anonhg.NetBSD.org/src/rev/2c73bab5c9b4
branches: trunk
changeset: 484998:2c73bab5c9b4
user: kleink <kleink%NetBSD.org@localhost>
date: Sun Apr 16 14:44:03 2000 +0000
description:
* GC two unused variables.
* Printf format nits.
diffstat:
sys/arch/prep/prep/bus_space.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f9972822663d -r 2c73bab5c9b4 sys/arch/prep/prep/bus_space.c
--- a/sys/arch/prep/prep/bus_space.c Sun Apr 16 14:43:56 2000 +0000
+++ b/sys/arch/prep/prep/bus_space.c Sun Apr 16 14:44:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.1 2000/03/27 16:45:42 nonaka Exp $ */
+/* $NetBSD: bus_space.c,v 1.2 2000/04/16 14:44:03 kleink Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -116,7 +116,6 @@
bus_size_t size;
{
struct extent *ex;
- u_long va, endva;
bus_addr_t bpa;
/*
@@ -134,7 +133,8 @@
if (extent_free(ex, bpa, size,
EX_NOWAIT | (ioport_malloc_safe ? EX_MALLOCOK : 0))) {
printf("prep_memio_unmap: %s 0x%lx, size 0x%lx\n",
- (t == PREP_BUS_SPACE_IO) ? "port" : "mem", bpa, size);
+ (t == PREP_BUS_SPACE_IO) ? "port" : "mem",
+ (unsigned long)bpa, (unsigned long)size);
printf("prep_memio_unmap: can't free region\n");
}
}
Home |
Main Index |
Thread Index |
Old Index