Remove previously added if 0's.

MFC after:	1 month
This commit is contained in:
Rui Paulo 2010-04-09 11:56:38 +00:00
parent c9cacb2d3c
commit ddc7073258

View File

@ -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;