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


Groups > linux.kernel > #1585142 > unrolled thread

Re: [PATCH] cpufreq: qoriq: clean up unused code

Started byViresh Kumar <viresh.kumar@linaro.org>
First post2017-02-21 10:10 +0100
Last post2017-02-21 10:10 +0100
Articles 1 — 1 participant

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

  Re: [PATCH] cpufreq: qoriq: clean up unused code Viresh Kumar <viresh.kumar@linaro.org> - 2017-02-21 10:10 +0100

#1585142 — Re: [PATCH] cpufreq: qoriq: clean up unused code

FromViresh Kumar <viresh.kumar@linaro.org>
Date2017-02-21 10:10 +0100
SubjectRe: [PATCH] cpufreq: qoriq: clean up unused code
Message-ID<tdeCm-t4-27@gated-at.bofh.it>
On 21-02-17, 14:51, yuantian.tang@nxp.com wrote:
> From: Tang Yuantian <Yuantian.Tang@nxp.com>
> 
> This snip code is not needed anymore since its user
> get_hard_smp_processor_id() has been removed.
> 
> Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
> ---
>  drivers/cpufreq/qoriq-cpufreq.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> index 53d8c3f..02031a3 100644
> --- a/drivers/cpufreq/qoriq-cpufreq.c
> +++ b/drivers/cpufreq/qoriq-cpufreq.c
> @@ -22,10 +22,6 @@
>  #include <linux/slab.h>
>  #include <linux/smp.h>
>  
> -#if !defined(CONFIG_ARM)
> -#include <asm/smp.h>	/* for get_hard_smp_processor_id() in UP configs */
> -#endif
> -
>  /**
>   * struct cpu_data
>   * @pclk: the parent clock of cpu

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web