diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 01:24:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 01:24:09 +0000 |
commit | eb15b6be29e6e09d209226b59034313b4c8180d6 (patch) | |
tree | 7054b97b7d9511067a2ae3ce37c7f3e7e258b84a /sys/dev/ata/wd.c | |
parent | bbb785d062f5a9c5ad3f048b06c3721c99016711 (diff) |
DVACT_ACTIVATE and DVACT_DEACTIVATE do nothing here; remove
the false comments.
Diffstat (limited to 'sys/dev/ata/wd.c')
-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); } |