Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1412811
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH V3 2/8] cpufreq: s3c24xx: Remove useless checks |
| Date | 2016-06-03 07:30 +0200 |
| Message-ID | <rFPQd-7wo-19@gated-at.bofh.it> (permalink) |
| References | <rFPQd-7wo-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
These aren't required at all, remove them.
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
drivers/cpufreq/s3c24xx-cpufreq.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c
index ae8eaed77b70..4567c3cab095 100644
--- a/drivers/cpufreq/s3c24xx-cpufreq.c
+++ b/drivers/cpufreq/s3c24xx-cpufreq.c
@@ -571,11 +571,7 @@ static int s3c_cpufreq_build_freq(void)
{
int size, ret;
- if (!cpu_cur.info->calc_freqtable)
- return -EINVAL;
-
kfree(ftab);
- ftab = NULL;
size = cpu_cur.info->calc_freqtable(&cpu_cur, NULL, 0);
size++;
--
2.7.1.410.g6faf27b
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH V3 2/8] cpufreq: s3c24xx: Remove useless checks Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-03 07:30 +0200
csiph-web