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/if_zyd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/dev/usb/if_zyd.c') diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c index 5312b8bbee6..52fcaf96bc0 100644 --- a/sys/dev/usb/if_zyd.c +++ b/sys/dev/usb/if_zyd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_zyd.c,v 1.87 2011/01/25 20:03:36 jakemsr Exp $ */ +/* $OpenBSD: if_zyd.c,v 1.88 2011/07/03 15:47:17 matthew Exp $ */ /*- * Copyright (c) 2006 by Damien Bergamini @@ -2585,9 +2585,6 @@ zyd_activate(struct device *self, int act) struct zyd_softc *sc = (struct zyd_softc *)self; switch (act) { - case DVACT_ACTIVATE: - break; - case DVACT_DEACTIVATE: usbd_deactivate(sc->sc_udev); break; -- cgit v1.2.3