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/uyap.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/uyap.c')
-rw-r--r-- | sys/dev/usb/uyap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uyap.c b/sys/dev/usb/uyap.c index e28918d158e..a5ce28e5c25 100644 --- a/sys/dev/usb/uyap.c +++ b/sys/dev/usb/uyap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uyap.c,v 1.18 2010/12/27 03:03:50 jakemsr Exp $ */ +/* $OpenBSD: uyap.c,v 1.19 2011/07/03 15:47:18 matthew Exp $ */ /* $NetBSD: uyap.c,v 1.6 2002/07/11 21:14:37 augustss Exp $ */ /* @@ -128,9 +128,6 @@ uyap_activate(struct device *self, int act) struct uyap_softc *sc = (struct uyap_softc *)self; switch (act) { - case DVACT_ACTIVATE: - break; - case DVACT_DEACTIVATE: usbd_deactivate(sc->sc_udev); break; |