Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/dev Remove some debug code.
details: https://anonhg.NetBSD.org/src/rev/e89c5aa70c48
branches: trunk
changeset: 755792:e89c5aa70c48
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jun 21 11:04:27 2010 +0000
description:
Remove some debug code.
diffstat:
sys/arch/hp700/dev/uturn.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r e5330454aeb5 -r e89c5aa70c48 sys/arch/hp700/dev/uturn.c
--- a/sys/arch/hp700/dev/uturn.c Mon Jun 21 10:37:46 2010 +0000
+++ b/sys/arch/hp700/dev/uturn.c Mon Jun 21 11:04:27 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uturn.c,v 1.10 2010/06/21 09:06:03 skrll Exp $ */
+/* $NetBSD: uturn.c,v 1.11 2010/06/21 11:04:27 skrll Exp $ */
/* $OpenBSD: uturn.c,v 1.6 2007/12/29 01:26:14 kettenis Exp $ */
@@ -267,7 +267,6 @@
struct uturn_softc *sc = v;
int err;
int i;
- int d = 0;
DPRINTF(("%s: map %p addr %p size %lx proc %p flags %x\n", __func__,
map, addr, size, p, flags));
@@ -279,12 +278,7 @@
for (i = 0; i < map->dm_nsegs; i++) {
DPRINTF(("%s: seg %2d ds_addr %lx _ds_va %lx\n", __func__, i,
map->dm_segs[i].ds_addr, map->dm_segs[i]._ds_va));
- if (map->dm_segs[i].ds_addr != map->dm_segs[i]._ds_va)
- d = 1;
}
- DPRINTF(("%s:\n", __func__));
- if (uturndebug && d)
- Debugger();
return err;
}
Home |
Main Index |
Thread Index |
Old Index