cpufreq: remove redundant assignment to ret
authorColin Ian King <colin.king@canonical.com>
Tue, 13 Aug 2019 12:21:21 +0000 (13:21 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 20 Aug 2019 22:28:30 +0000 (00:28 +0200)
commit62c23a89fd269f0308226b63ac4a427339b6f945
treea683f70c35254417d48a5d48852095f52c7e6fe5
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
cpufreq: remove redundant assignment to ret

Variable ret is initialized to a value that is never read and it is
re-assigned later. The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c