diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-17 12:31:17 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-17 12:31:17 +0000 |
commit | 7ce654e07446d8a4068a7df3ec3f1ae6f3f98eaa (patch) | |
tree | 04ee125869ea5d491f1bc0e8748a165420556b9d /sys/dev/pci | |
parent | 2efa38dc34d66899b4c5ae8fb6ccb6fedb87c9db (diff) |
dont need debug in the tree
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/arc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/pci/arc.c b/sys/dev/pci/arc.c index 72397160a4b..42bfb8bf440 100644 --- a/sys/dev/pci/arc.c +++ b/sys/dev/pci/arc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arc.c,v 1.21 2006/08/17 12:16:35 dlg Exp $ */ +/* $OpenBSD: arc.c,v 1.22 2006/08/17 12:31:16 dlg Exp $ */ /* * Copyright (c) 2006 David Gwynne <dlg@openbsd.org> @@ -34,8 +34,6 @@ #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> -#define ARC_DEBUG - #ifdef ARC_DEBUG #define ARC_D_INIT (1<<0) #define ARC_D_RW (1<<1) @@ -746,8 +744,11 @@ arc_msgbuf(struct arc_softc *sc, void *wptr, size_t wlen, void *rptr, { u_int8_t rwbuf[ARC_REG_IOC_RWBUF_MAXLEN]; u_int8_t *wbuf = wptr, *rbuf = rptr; - int wdone = 0, rdone = 0, i; + int wdone = 0, rdone = 0; u_int32_t reg, rwlen; +#ifdef ARC_DEBUG + int i; +#endif DNPRINTF(ARC_D_DB, "%s: arc_msgbuf wlen: %d rlen: %d\n", DEVNAME(sc), wlen, rlen); |