diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-03 15:47:19 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-03 15:47:19 +0000 |
commit | cf51fdce33cceb21f045884bd8ac674d82bb7fa5 (patch) | |
tree | ad92547f0dfd94e3390a439ec1017fd1b84ca374 /sys/dev/usb/umass.c | |
parent | 2c5191c2d7257540905a986a7260a29cf5424ae8 (diff) |
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
Diffstat (limited to 'sys/dev/usb/umass.c')
-rw-r--r-- | sys/dev/usb/umass.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index e1bece5b2f5..2e01138267d 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umass.c,v 1.61 2011/05/24 20:27:11 matthew Exp $ */ +/* $OpenBSD: umass.c,v 1.62 2011/07/03 15:47:17 matthew Exp $ */ /* $NetBSD: umass.c,v 1.116 2004/06/30 05:53:46 mycroft Exp $ */ /* @@ -679,9 +679,6 @@ umass_activate(struct device *dev, int act) sc->sc_dev.dv_xname, act)); switch (act) { - case DVACT_ACTIVATE: - break; - case DVACT_DEACTIVATE: sc->sc_dying = 1; if (scbus == NULL || scbus->sc_child == NULL) |