diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-15 01:59:01 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-15 01:59:01 +0000 |
commit | 79bf425b32b0cf4a42dc7f0cda38995690dc1eb9 (patch) | |
tree | 550db0848eaa572cca0f352a7d92a4056f288d01 | |
parent | 286d2928c9906c1510f06f036443341487d68de3 (diff) |
remove unused smc91cxx_activate()
ok miod@
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 22 | ||||
-rw-r--r-- | sys/dev/ic/smc91cxxvar.h | 3 |
2 files changed, 2 insertions, 23 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index ae67e892b77..814c1e370ba 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.51 2022/01/09 05:42:42 jsg Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.52 2022/08/15 01:59:00 jsg Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -1141,26 +1141,6 @@ smc91cxx_disable(struct smc91cxx_softc *sc) } int -smc91cxx_activate(struct device *self, int act) -{ -#if 0 - struct smc91cxx_softc *sc = (struct smc91cxx_softc *)self; -#endif - int rv = 0, s; - - s = splnet(); - switch (act) { - case DVACT_DEACTIVATE: -#if 0 - if_deactivate(&sc->sc_ic.ic_if); -#endif - break; - } - splx(s); - return(rv); -} - -int smc91cxx_detach(struct device *self, int flags) { struct smc91cxx_softc *sc = (struct smc91cxx_softc *)self; diff --git a/sys/dev/ic/smc91cxxvar.h b/sys/dev/ic/smc91cxxvar.h index f3491201209..b2081852f28 100644 --- a/sys/dev/ic/smc91cxxvar.h +++ b/sys/dev/ic/smc91cxxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxxvar.h,v 1.8 2009/10/13 19:33:16 pirofti Exp $ */ +/* $OpenBSD: smc91cxxvar.h,v 1.9 2022/08/15 01:59:00 jsg Exp $ */ /* $NetBSD: smc91cxxvar.h,v 1.4 1997/10/15 05:56:13 explorer Exp $ */ /*- @@ -65,5 +65,4 @@ void smc91cxx_init(struct smc91cxx_softc *); void smc91cxx_stop(struct smc91cxx_softc *); int smc91cxx_enable(struct smc91cxx_softc *); void smc91cxx_disable(struct smc91cxx_softc *); -int smc91cxx_activate(struct device *, int); int smc91cxx_detach(struct device *, int); |