summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-07-12 20:51:32 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-07-12 20:51:32 +0000
commitede7ad9de6dad8c79a4a3cd63a45f8bb92021b76 (patch)
tree370939b9cf66d11c91c2d99349176729f64a0123 /sys/dev
parented7b70edf0c7f77db5a66e12db104e091b9876a7 (diff)
Expunge debug code that uses an uninitialized variable. Without the
variable the message doesn't make much sense. Reported by Maxime Villard.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/trm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index a6590cf2989..f49c8e98883 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.30 2011/12/03 03:29:13 krw Exp $
+/* $OpenBSD: trm.c,v 1.31 2013/07/12 20:51:31 krw Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -651,11 +651,6 @@ trm_timeout(void *arg1)
trm_reset(sc);
trm_StartWaitingSRB(sc);
}
-#ifdef TRM_DEBUG0
- else
- printf("%s: trm_timeout called with xs == NULL\n",
- sc->sc_device.dv_xname);
-#endif
}
/*