From 5ac71a1dda960b2166dd04bcf6c3d606cb7903bb Mon Sep 17 00:00:00 2001 From: Arend van Spriel Date: Tue, 3 May 2011 11:35:40 +0200 Subject: [PATCH] staging: brcm80211: remove zero initialization of static in si_pmu_ilp_clock The static variable ilpcycles_per_sec was initialized with zero value, which is not necessary (checkpatch error). Initialization has been removed. Cc: devel@linuxdriverproject.org Cc: linux-wireless@vger.kernel.org Cc: Brett Rudley Cc: Henry Ptasinski Cc: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/brcmsmac/wlc_pmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c b/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c index 603172addca9..cd42a77585f9 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; -- 2.39.5