[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1510827497-25188-4-git-send-email-souvik.k.chakravarty@intel.com>
Date: Thu, 16 Nov 2017 15:48:15 +0530
From: Souvik Kumar Chakravarty <souvik.k.chakravarty@...el.com>
To: platform-driver-x86@...r.kernel.org
Cc: dvhart@...radead.org, andy@...radead.org,
linux-kernel@...r.kernel.org, rajneesh.bhardwaj@...el.com,
Souvik Kumar Chakravarty <souvik.k.chakravarty@...el.com>
Subject: [PATCH v1 3/5] platform/x86: intel_telemetry: Fix local variables
Remove unnecesary 'static' qualifier.
Signed-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@...el.com>
---
drivers/platform/x86/intel_telemetry_debugfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/intel_telemetry_debugfs.c b/drivers/platform/x86/intel_telemetry_debugfs.c
index d0fce8c..60596a1 100644
--- a/drivers/platform/x86/intel_telemetry_debugfs.c
+++ b/drivers/platform/x86/intel_telemetry_debugfs.c
@@ -857,8 +857,8 @@ static int pm_suspend_prep_cb(void)
static int pm_suspend_exit_cb(void)
{
struct telemetry_evtlog evtlog[TELEM_MAX_OS_ALLOCATED_EVENTS];
- static u32 suspend_shlw_ctr_exit, suspend_deep_ctr_exit;
- static u64 suspend_shlw_res_exit, suspend_deep_res_exit;
+ u32 suspend_shlw_ctr_exit = 0, suspend_deep_ctr_exit = 0;
+ u64 suspend_shlw_res_exit = 0, suspend_deep_res_exit = 0;
struct telemetry_debugfs_conf *conf = debugfs_conf;
u32 shlw_lo, shlw_hi, deep_lo, deep_hi;
int ret, index;
--
2.7.4
Powered by blists - more mailing lists