Skip to content

Commit

Permalink
staging: brcm80211: remove zero initialization of static in si_pmu_il…
Browse files Browse the repository at this point in the history
…p_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 <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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 683d069 commit 5ac71a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ac71a1

Please sign in to comment.