staging: brcm80211: remove zero initialization of static in si_pmu_ilp_clock
authorArend van Spriel <arend@broadcom.com>
Tue, 3 May 2011 09:35:40 +0000 (11:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:42:41 +0000 (12:42 -0700)
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 <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_pmu.c

index 603172addca91798ed1a882221f5935c7d1ac6de..cd42a77585f99265cdca1ea5be53fd7fa53a34e3 100644 (file)
@@ -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;