Module Name: src Committed By: skrll Date: Mon Jun 21 11:04:28 UTC 2010
Modified Files: src/sys/arch/hp700/dev: uturn.c Log Message: Remove some debug code. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/hp700/dev/uturn.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/hp700/dev/uturn.c diff -u src/sys/arch/hp700/dev/uturn.c:1.10 src/sys/arch/hp700/dev/uturn.c:1.11 --- src/sys/arch/hp700/dev/uturn.c:1.10 Mon Jun 21 09:06:03 2010 +++ src/sys/arch/hp700/dev/uturn.c Mon Jun 21 11:04:27 2010 @@ -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; }