Re: [PATCH] cpufreq: qoriq: clean up unused code
On 21-02-17, 14:51, yuantian.t...@nxp.com wrote: > From: Tang Yuantian> > This snip code is not needed anymore since its user > get_hard_smp_processor_id() has been removed. > > Signed-off-by: Tang Yuantian > --- > 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 > #include > > -#if !defined(CONFIG_ARM) > -#include /* for get_hard_smp_processor_id() in UP configs */ > -#endif > - > /** > * struct cpu_data > * @pclk: the parent clock of cpu Acked-by: Viresh Kumar -- viresh
Re: [PATCH] cpufreq: qoriq: clean up unused code
On 21-02-17, 14:51, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > This snip code is not needed anymore since its user > get_hard_smp_processor_id() has been removed. > > Signed-off-by: Tang Yuantian > --- > 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 > #include > > -#if !defined(CONFIG_ARM) > -#include /* for get_hard_smp_processor_id() in UP configs */ > -#endif > - > /** > * struct cpu_data > * @pclk: the parent clock of cpu Acked-by: Viresh Kumar -- viresh
[PATCH] cpufreq: qoriq: clean up unused code
From: Tang YuantianThis snip code is not needed anymore since its user get_hard_smp_processor_id() has been removed. Signed-off-by: Tang Yuantian --- 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 #include -#if !defined(CONFIG_ARM) -#include/* for get_hard_smp_processor_id() in UP configs */ -#endif - /** * struct cpu_data * @pclk: the parent clock of cpu -- 2.1.0.27.g96db324
[PATCH] cpufreq: qoriq: clean up unused code
From: Tang Yuantian This snip code is not needed anymore since its user get_hard_smp_processor_id() has been removed. Signed-off-by: Tang Yuantian --- 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 #include -#if !defined(CONFIG_ARM) -#include/* for get_hard_smp_processor_id() in UP configs */ -#endif - /** * struct cpu_data * @pclk: the parent clock of cpu -- 2.1.0.27.g96db324