summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-04-09 03:43:36 +0000
committermycroft <mycroft@NetBSD.org>1994-04-09 03:43:36 +0000
commitcabd481fa9e4a7bc79b70726bc8efa3b74ea862d (patch)
tree509ad746902425bb619d54b219ca7aa624f743b1 /sys/dev/ata
parentc1c9f5d037d8e8e89b50f4103cd34c28de69f78e (diff)
Don't print a duplicate message about stray interrupts.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 354c5eeb0a6..45cacfe515f 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.76 1994/04/07 06:51:17 mycroft Exp $
+ * $Id: wd.c,v 1.77 1994/04/09 03:43:36 mycroft Exp $
*/
#define INSTRUMENT /* instrumentation stuff by Brad Parker */
@@ -712,10 +712,8 @@ wdcintr(wdc)
/* Clear the pending interrupt. */
(void) inb(wdc->sc_iobase+wd_status);
- if (!wdc->sc_q.b_active) {
- printf("%s: extra interrupt\n", wdc->sc_dev.dv_xname);
+ if (!wdc->sc_q.b_active)
return 0;
- }
bp = wdc->sc_q.b_forw->b_actf;
wd = wdcd.cd_devs[WDUNIT(bp->b_dev)];