diff options
| author | christos <christos@NetBSD.org> | 2010-11-03 20:46:33 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2010-11-03 20:46:33 +0000 |
| commit | b57fc8a05d23bf4f78fc97a820ad5fbc29b2413d (patch) | |
| tree | 8a37f13b8d70fc0bb6c5c865af4de22a13087186 /sys/dev/usb | |
| parent | 226b4f93161da8a533868b2173b66a56ce9c6b9c (diff) | |
ifdef unused
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/if_otus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/if_otus.c b/sys/dev/usb/if_otus.c index c761549f942..b4c4f32e380 100644 --- a/sys/dev/usb/if_otus.c +++ b/sys/dev/usb/if_otus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_otus.c,v 1.2 2010/11/03 20:03:02 christos Exp $ */ +/* $NetBSD: if_otus.c,v 1.3 2010/11/03 20:46:33 christos Exp $ */ /* $OpenBSD: if_otus.c,v 1.18 2010/08/27 17:08:00 jsg Exp $ */ /*- @@ -118,8 +118,10 @@ Static void otus_start(struct ifnet *); Static void otus_watchdog(struct ifnet *); Static int otus_ioctl(struct ifnet *, u_long, void *); Static int otus_set_multi(struct otus_softc *); +#ifdef HAVE_EDCA Static void otus_updateedca(struct ieee80211com *); Static void otus_updateedca_cb(struct otus_softc *, void *); +#endif Static void otus_updateedca_cb_locked(struct otus_softc *); Static void otus_updateslot(struct ifnet *); Static void otus_updateslot_cb(struct otus_softc *, void *); @@ -2078,6 +2080,7 @@ otus_set_multi(struct otus_softc *sc) return error; } +#ifdef HAVE_EDCA Static void otus_updateedca(struct ieee80211com *ic) { @@ -2094,6 +2097,7 @@ otus_updateedca_cb(struct otus_softc *sc, void *arg __used) otus_updateedca_cb_locked(sc); mutex_exit(&sc->sc_write_mtx); } +#endif Static void otus_updateedca_cb_locked(struct otus_softc *sc) |
