Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb ifdef unused
details: https://anonhg.NetBSD.org/src/rev/1fc20259540c
branches: trunk
changeset: 758382:1fc20259540c
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 03 20:46:33 2010 +0000
description:
ifdef unused
diffstat:
sys/dev/usb/if_otus.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 3b4aabbdadf8 -r 1fc20259540c sys/dev/usb/if_otus.c
--- a/sys/dev/usb/if_otus.c Wed Nov 03 20:46:15 2010 +0000
+++ b/sys/dev/usb/if_otus.c Wed Nov 03 20:46:33 2010 +0000
@@ -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_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 @@
return error;
}
+#ifdef HAVE_EDCA
Static void
otus_updateedca(struct ieee80211com *ic)
{
@@ -2094,6 +2097,7 @@
otus_updateedca_cb_locked(sc);
mutex_exit(&sc->sc_write_mtx);
}
+#endif
Static void
otus_updateedca_cb_locked(struct otus_softc *sc)
Home |
Main Index |
Thread Index |
Old Index