From: Roland Vossen Date: Tue, 15 Mar 2011 13:51:06 +0000 (+0100) Subject: staging: brcm80211: deleted inactive BCMDBG_FORCEHT code X-Git-Tag: v3.0-rc1~336^2~910 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4cbdbca020bd26dde0feb2a7511ae14fd394faf6;p=karo-tx-linux.git staging: brcm80211: deleted inactive BCMDBG_FORCEHT code Code cleanup. Preprocessor flag BCMDBG_FORCEHT is never defined, is a debug feature, so ifdeff'ed code has been removed. The removed section would force the backplane clock on HT rate, which facilitates debug but has a negative effect on power usage. Signed-off-by: Roland Vossen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/util/hndpmu.c b/drivers/staging/brcm80211/util/hndpmu.c index 3675d1b1aa81..621177b4c4b0 100644 --- a/drivers/staging/brcm80211/util/hndpmu.c +++ b/drivers/staging/brcm80211/util/hndpmu.c @@ -1543,10 +1543,6 @@ void si_pmu_pll_init(si_t *sih, uint xtalfreq) break; } -#ifdef BCMDBG_FORCEHT - OR_REG(&cc->clk_ctl_st, CCS_FORCEHT); -#endif - /* Return to original core */ si_setcoreidx(sih, origidx); }