From cf51fdce33cceb21f045884bd8ac674d82bb7fa5 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Sun, 3 Jul 2011 15:47:19 +0000 Subject: 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 --- sys/dev/usb/uvideo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/usb/uvideo.c') 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 @@ -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); -- cgit v1.2.3