[PATCH 40/61] staging: brcm80211: remove zero initialization of static in si_pmu_ilp_clock

Arend van Spriel arend at broadcom.com
Tue May 3 09:35:40 UTC 2011


The static variable ilpcycles_per_sec was initialized with zero value, which
is not necessary (checkpatch error). Initialization has been removed.

Cc: devel at linuxdriverproject.org
Cc: linux-wireless at vger.kernel.org
Cc: Brett Rudley <brudley at broadcom.com>
Cc: Henry Ptasinski <henryp at broadcom.com>
Cc: Roland Vossen <rvossen at broadcom.com>
Signed-off-by: Arend van Spriel <arend at broadcom.com>
---
 drivers/staging/brcm80211/brcmsmac/wlc_pmu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c b/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
index 603172a..cd42a77 100644
--- a/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
+++ b/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
@@ -1211,7 +1211,7 @@ static void si_pmu1_pllinit0(si_t *sih, chipcregs_t *cc, u32 xtal)
 
 u32 si_pmu_ilp_clock(si_t *sih)
 {
-	static u32 ilpcycles_per_sec = 0;
+	static u32 ilpcycles_per_sec;
 
 	if (ISSIM_ENAB(sih))
 		return ILP_CLOCK;
-- 
1.7.4.1





More information about the devel mailing list