From owner-svn-src-all@FreeBSD.ORG Fri Apr 9 11:56:38 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FDB3106564A; Fri, 9 Apr 2010 11:56:38 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0688FC17; Fri, 9 Apr 2010 11:56:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o39BucXg036935; Fri, 9 Apr 2010 11:56:38 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o39BucKI036931; Fri, 9 Apr 2010 11:56:38 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201004091156.o39BucKI036931@svn.freebsd.org> From: Rui Paulo Date: Fri, 9 Apr 2010 11:56:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206417 - head/sys/dev/usb/wlan X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 11:56:38 -0000 Author: rpaulo Date: Fri Apr 9 11:56:38 2010 New Revision: 206417 URL: http://svn.freebsd.org/changeset/base/206417 Log: Remove previously added if 0's. MFC after: 1 month Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ============================================================================== --- head/sys/dev/usb/wlan/if_run.c Fri Apr 9 11:47:03 2010 (r206416) +++ head/sys/dev/usb/wlan/if_run.c Fri Apr 9 11:56:38 2010 (r206417) @@ -1963,9 +1963,6 @@ run_ratectl_start(struct run_softc *sc, 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, 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 ieee8021 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;