cpufreq: armada-37xx: Remove set but not used variable 'freq'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 1 Jun 2019 07:43:38 +0000 (07:43 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 3 Jun 2019 05:56:38 +0000 (11:26 +0530)
commit036eb5c6d532a0fa1cea854814628be625809c4e
tree8d60a9905cb6e085ba0754c060c56e3ed8b9cbaf
parentc2147585cce028e46a0ea8b24be3a11716ee6e4f
cpufreq: armada-37xx: Remove set but not used variable 'freq'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/cpufreq/armada-37xx-cpufreq.c: In function 'armada37xx_cpufreq_avs_setup':
drivers/cpufreq/armada-37xx-cpufreq.c:260:28: warning:
 variable 'freq' set but not used [-Wunused-but-set-variable]

It's never used since introduction in commit 1c3528232f4b ("cpufreq:
armada-37xx: Add AVS support")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/armada-37xx-cpufreq.c