[PATCH v2]: staging: brcm80211: Purge unused wlc_info tracing

Brett Rudley brudley at broadcom.com
Fri Oct 8 16:05:10 PDT 2010


Fixed subject line.
Purge unused wlc_info_dbg

Signed-off-by: Brett Rudley <brudley at broadcom.com>
---
 drivers/staging/brcm80211/sys/wlc_mac80211.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c
index 857dd06..4694ad7 100644
--- a/drivers/staging/brcm80211/sys/wlc_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c
@@ -138,11 +138,6 @@ uint wl_msg_level =
 
 #define SCAN_IN_PROGRESS(x)	0
 
-#ifdef BCMDBG
-/* pointer to most recently allocated wl/wlc */
-static wlc_info_t *wlc_info_dbg = (wlc_info_t *) (NULL);
-#endif
-
 /* IOVar table */
 
 /* Parameter IDs, for use only internally to wlc -- in the wlc_iovars
@@ -1807,10 +1802,6 @@ void *BCMATTACHFN(wlc_attach) (void *wl, u16 vendor, u16 device,
 	wlc->osh = osh;
 	pub = wlc->pub;
 
-#if defined(BCMDBG)
-	wlc_info_dbg = wlc;
-#endif
-
 	wlc->band = wlc->bandstate[0];
 	wlc->core = wlc->corestate;
 	wlc->wl = wl;
-- 
1.6.3.3




More information about the devel mailing list