diff options
author | 2011-07-03 15:47:16 +0000 | |
---|---|---|
committer | 2011-07-03 15:47:16 +0000 | |
commit | 0b1c76075d2949c11e0b9bff1e670b5d5be10297 (patch) | |
tree | 65c7b7bc5ce5a1045805e1211d2a38c5b23551b5 /sys/dev/usb/uts.c | |
parent | Call config_detach() on the child scsibus in sr_detach(). (diff) | |
download | wireguard-openbsd-0b1c76075d2949c11e0b9bff1e670b5d5be10297.tar.xz wireguard-openbsd-0b1c76075d2949c11e0b9bff1e670b5d5be10297.zip |
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/uts.c')
-rw-r--r-- | sys/dev/usb/uts.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uts.c b/sys/dev/usb/uts.c index a626015ede3..db956ec22e0 100644 --- a/sys/dev/usb/uts.c +++ b/sys/dev/usb/uts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uts.c,v 1.29 2011/03/03 21:48:49 kettenis Exp $ */ +/* $OpenBSD: uts.c,v 1.30 2011/07/03 15:47:17 matthew Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -254,9 +254,6 @@ uts_activate(struct device *self, int act) int rv = 0; switch (act) { - case DVACT_ACTIVATE: - break; - case DVACT_DEACTIVATE: if (sc->sc_wsmousedev != NULL) rv = config_deactivate(sc->sc_wsmousedev); |