diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-04-09 11:56:38 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-04-09 11:56:38 +0000 |
commit | 6c4bad090acdd955099b77534be3b9195b3cb486 (patch) | |
tree | 219195e4f0eb416a98db5c2be7a4ab27501d6d5a /sys/dev/usb/wlan/if_run.c | |
parent | ebc02417af27ea94629511b587f3bea4daec4d29 (diff) | |
download | FreeBSD-src-6c4bad090acdd955099b77534be3b9195b3cb486.zip FreeBSD-src-6c4bad090acdd955099b77534be3b9195b3cb486.tar.gz |
Remove previously added if 0's.
MFC after: 1 month
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r-- | sys/dev/usb/wlan/if_run.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index e69cb06..06d3764 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -1963,9 +1963,6 @@ run_ratectl_start(struct run_softc *sc, struct ieee80211_node *ni) struct ieee80211vap *vap = ni->ni_vap; struct run_vap *rvp = RUN_VAP(vap); uint32_t sta[3]; -#if 0 - uint8_t wcid; -#endif RUN_LOCK_ASSERT(sc, MA_OWNED); @@ -1973,10 +1970,6 @@ run_ratectl_start(struct run_softc *sc, struct ieee80211_node *ni) run_read_region_1(sc, RT2860_TX_STA_CNT0, (uint8_t *)sta, sizeof sta); -#if 0 - wcid = RUN_AID2WCID(ni == NULL ? 0 : ni->ni_associd); - ieee80211_amrr_node_init(&rvp->amrr, &rvp->amn[wcid], ni); -#endif ieee80211_ratectl_node_init(ni); /* start at lowest available bit-rate, AMRR will raise */ @@ -2094,11 +2087,6 @@ run_iter_func(void *arg, struct ieee80211_node *ni) le32toh(sta[1]) >> 16, le32toh(sta[1]) & 0xffff, le32toh(sta[0]) & 0xffff); -#if 0 - wcid = RUN_AID2WCID(ni == NULL ? 0 : ni->ni_associd); - amn = &rvp->amn[wcid]; -#endif - /* count failed TX as errors */ ifp->if_oerrors += le32toh(sta[0]) & 0xffff; |