From owner-svn-src-all@FreeBSD.ORG Fri Feb 13 05:31:19 2009 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 68DCC1065670; Fri, 13 Feb 2009 05:31:19 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2438FC18; Fri, 13 Feb 2009 05:31:19 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1D5VJNa077309; Fri, 13 Feb 2009 05:31:19 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1D5VJa8077306; Fri, 13 Feb 2009 05:31:19 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200902130531.n1D5VJa8077306@svn.freebsd.org> From: Sam Leffler Date: Fri, 13 Feb 2009 05:31:18 +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: r188556 - head/sys/net80211 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, 13 Feb 2009 05:31:19 -0000 Author: sam Date: Fri Feb 13 05:31:18 2009 New Revision: 188556 URL: http://svn.freebsd.org/changeset/base/188556 Log: remove ic_stats; it was intended to accumulate stats from vaps as they were reaped but was never used and is inaccessible Modified: head/sys/net80211/ieee80211.c head/sys/net80211/ieee80211_ddb.c head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211.c ============================================================================== --- head/sys/net80211/ieee80211.c Fri Feb 13 05:30:22 2009 (r188555) +++ head/sys/net80211/ieee80211.c Fri Feb 13 05:31:18 2009 (r188556) @@ -533,7 +533,6 @@ ieee80211_vap_detach(struct ieee80211vap */ ieee80211_stop_locked(vap); - /* XXX accumulate iv_stats in ic_stats? */ TAILQ_REMOVE(&ic->ic_vaps, vap, iv_next); ieee80211_syncflag_locked(ic, IEEE80211_F_WME); ieee80211_syncflag_locked(ic, IEEE80211_F_TURBOP); Modified: head/sys/net80211/ieee80211_ddb.c ============================================================================== --- head/sys/net80211/ieee80211_ddb.c Fri Feb 13 05:30:22 2009 (r188555) +++ head/sys/net80211/ieee80211_ddb.c Fri Feb 13 05:31:18 2009 (r188556) @@ -438,7 +438,6 @@ _db_show_com(const struct ieee80211com * db_printf("\tifp %p", ic->ic_ifp); db_printf(" comlock %p", &ic->ic_comlock); db_printf("\n"); - _db_show_stats(&ic->ic_stats); db_printf("\theadroom %d", ic->ic_headroom); db_printf(" phytype %d", ic->ic_phytype); db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]); Modified: head/sys/net80211/ieee80211_var.h ============================================================================== --- head/sys/net80211/ieee80211_var.h Fri Feb 13 05:30:22 2009 (r188555) +++ head/sys/net80211/ieee80211_var.h Fri Feb 13 05:31:18 2009 (r188556) @@ -111,7 +111,6 @@ struct ieee80211com { struct ifnet *ic_ifp; /* associated device */ ieee80211_com_lock_t ic_comlock; /* state update lock */ TAILQ_HEAD(, ieee80211vap) ic_vaps; /* list of vap instances */ - struct ieee80211_stats ic_stats; /* statistics */ int ic_headroom; /* driver tx headroom needs */ enum ieee80211_phytype ic_phytype; /* XXX wrong for multi-mode */ enum ieee80211_opmode ic_opmode; /* operation mode */