mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 00:39:30 -04:00
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 <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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
683d06921d
commit
5ac71a1dda
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user