Message ID | 1510827497-25188-4-git-send-email-souvik.k.chakravarty@intel.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
On Thu, Nov 16, 2017 at 12:18 PM, Souvik Kumar Chakravarty
<souvik.k.chakravarty@intel.com> wrote:
> Remove unnecesary 'static' qualifier.
unnecessary
Looks like a candidate to be folded in previous one.
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;
Remove unnecesary 'static' qualifier. Signed-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com> --- drivers/platform/x86/intel_telemetry_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)