diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-07-12 20:51:32 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-07-12 20:51:32 +0000 |
commit | ede7ad9de6dad8c79a4a3cd63a45f8bb92021b76 (patch) | |
tree | 370939b9cf66d11c91c2d99349176729f64a0123 | |
parent | ed7b70edf0c7f77db5a66e12db104e091b9876a7 (diff) |
Expunge debug code that uses an uninitialized variable. Without the
variable the message doesn't make much sense.
Reported by Maxime Villard.
-rw-r--r-- | sys/dev/ic/trm.c | 7 |
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 } /* |