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


Groups > linux.kernel > #1585142

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

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] cpufreq: qoriq: clean up unused code
Date 2017-02-21 10:10 +0100
Message-ID <tdeCm-t4-27@gated-at.bofh.it> (permalink)
References <tdeCm-t4-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web