diff options
-rw-r--r-- | sys/dev/ata/wd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index 67ee928cfe2..f2733aba906 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.93 2010/09/08 15:16:22 jsing Exp $ */ +/* $OpenBSD: wd.c,v 1.94 2010/09/20 01:24:08 deraadt Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -380,8 +380,6 @@ wdactivate(struct device *self, int act) int rv = 0; switch (act) { - case DVACT_ACTIVATE: - break; case DVACT_SUSPEND: wd_flushcache(wd, AT_POLL); wd_standby(wd, AT_POLL); @@ -398,11 +396,6 @@ wdactivate(struct device *self, int act) wdc_reset_channel(wd->drvp); wdc_enable_intr(wd->drvp->chnl_softc); break; - case DVACT_DEACTIVATE: - /* - * Nothing to do; we key off the device's DVF_ACTIVATE. - */ - break; } return (rv); } |