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/uhub.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/uhub.c')
-rw-r--r-- | sys/dev/usb/uhub.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c index bd20aeb8cc5..0da6613206f 100644 --- a/sys/dev/usb/uhub.c +++ b/sys/dev/usb/uhub.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhub.c,v 1.57 2011/01/25 20:03:36 jakemsr Exp $ */ +/* $OpenBSD: uhub.c,v 1.58 2011/07/03 15:47:17 matthew Exp $ */ /* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */ @@ -523,9 +523,6 @@ uhub_activate(struct device *self, int act) int nports, port, i; switch (act) { - case DVACT_ACTIVATE: - break; - case DVACT_DEACTIVATE: if (hub == NULL) /* malfunctioning hub */ break; |