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/gpio/gpiodcf.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/gpio/gpiodcf.c')
-rw-r--r-- | sys/dev/gpio/gpiodcf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/gpio/gpiodcf.c b/sys/dev/gpio/gpiodcf.c index d8eeec8ac65..9f96ad49abf 100644 --- a/sys/dev/gpio/gpiodcf.c +++ b/sys/dev/gpio/gpiodcf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpiodcf.c,v 1.3 2009/10/13 19:33:16 pirofti Exp $ */ +/* $OpenBSD: gpiodcf.c,v 1.4 2011/07/03 15:47:16 matthew Exp $ */ /* * Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org> @@ -598,8 +598,6 @@ gpiodcf_activate(struct device *self, int act) struct gpiodcf_softc *sc = (struct gpiodcf_softc *)self; switch (act) { - case DVACT_ACTIVATE: - break; case DVACT_DEACTIVATE: sc->sc_dying = 1; break; |