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/uvideo.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/uvideo.c')
-rw-r--r-- | sys/dev/usb/uvideo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index 10b5f6e50f1..ceec0096e72 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.163 2011/06/23 22:03:43 oga Exp $ */ +/* $OpenBSD: uvideo.c,v 1.164 2011/07/03 15:47:17 matthew Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -564,8 +564,6 @@ uvideo_activate(struct device *self, int act) DPRINTF(1, "uvideo_activate: sc=%p\n", sc); switch (act) { - case DVACT_ACTIVATE: - break; case DVACT_DEACTIVATE: if (sc->sc_videodev != NULL) config_deactivate(sc->sc_videodev); |