From eb15b6be29e6e09d209226b59034313b4c8180d6 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 20 Sep 2010 01:24:09 +0000 Subject: DVACT_ACTIVATE and DVACT_DEACTIVATE do nothing here; remove the false comments. --- sys/dev/ata/wd.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys') 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); } -- cgit v1.2.3