* [PATCH] cpufreq: qoriq: clean up unused code
@ 2017-02-21 6:51 yuantian.tang at nxp.com
2017-02-21 9:04 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: yuantian.tang at nxp.com @ 2017-02-21 6:51 UTC (permalink / raw)
To: linux-arm-kernel
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
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] cpufreq: qoriq: clean up unused code
2017-02-21 6:51 [PATCH] cpufreq: qoriq: clean up unused code yuantian.tang at nxp.com
@ 2017-02-21 9:04 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2017-02-21 9:04 UTC (permalink / raw)
To: linux-arm-kernel
On 21-02-17, 14:51, yuantian.tang at 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-21 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 6:51 [PATCH] cpufreq: qoriq: clean up unused code yuantian.tang at nxp.com
2017-02-21 9:04 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox