Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411077 > unrolled thread

[PATCH 2/8] cpufreq: s3c24xx: Remove useless checks

Started byViresh Kumar <viresh.kumar@linaro.org>
First post2016-06-01 12:40 +0200
Last post2016-06-02 09:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/8] cpufreq: s3c24xx: Remove useless checks Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-01 12:40 +0200
    Re: [PATCH 2/8] cpufreq: s3c24xx: Remove useless checks Viresh Kumar <viresh.kumar@linaro.org> - 2016-06-02 09:00 +0200
    Re: [PATCH 2/8] cpufreq: s3c24xx: Remove useless checks Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-02 09:00 +0200

#1411077 — [PATCH 2/8] cpufreq: s3c24xx: Remove useless checks

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-06-01 12:40 +0200
Subject[PATCH 2/8] cpufreq: s3c24xx: Remove useless checks
Message-ID<rFbJ7-7eG-1@gated-at.bofh.it>
These aren't required at all, remove them.

Cc: Kukjin Kim <kgene@kernel.org>
Cc: 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

[toc] | [next] | [standalone]


#1411920

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-06-02 09:00 +0200
Message-ID<rFuLM-2xr-15@gated-at.bofh.it>
In reply to#1411077
On 02-06-16, 08:49, Krzysztof Kozlowski wrote:
> On 06/01/2016 12:34 PM, Viresh Kumar wrote:
> > These aren't required at all, remove them.
> > 
> > Cc: Kukjin Kim <kgene@kernel.org>
> > Cc: 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(-)
> 
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> Do you wish me to take it through samsung-soc tree?

Better to let this go via PM tree as there are more patches for this
file in the same patchset that have to go via PM tree.

Thanks.

-- 
viresh

[toc] | [prev] | [next] | [standalone]


#1411923

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-06-02 09:00 +0200
Message-ID<rFuLM-2xr-17@gated-at.bofh.it>
In reply to#1411077
On 06/01/2016 12:34 PM, Viresh Kumar wrote:
> These aren't required at all, remove them.
> 
> Cc: Kukjin Kim <kgene@kernel.org>
> Cc: 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(-)

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Do you wish me to take it through samsung-soc tree?

Best regards,
Krzysztof

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web