diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2021-05-31 10:16:07 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-06-07 14:47:57 +0300 |
commit | 5de1262500708bcf6eef753f5eb9d8adb3d32d33 (patch) | |
tree | dc0063cddcf275d89f355ec5d63afc9ebf3e5833 /drivers/cpufreq/sh-cpufreq.c | |
parent | 8df71a7dc5e1e0d8f1bb13145e00bf375fa2082e (diff) | |
download | linux-5de1262500708bcf6eef753f5eb9d8adb3d32d33.tar.xz |
cpufreq: stats: Clean up local variable in cpufreq_stats_create_table()
Local variable 'count' will be initialized and 'ret' is also not
required, so remove the redundant initialization and get rid of
'ret'.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/sh-cpufreq.c')
0 files changed, 0 insertions, 0 deletions