Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] cpufreq: qoriq: clean up unused code
@ 2017-02-21  6:51 yuantian.tang
  2017-02-21  9:04 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: yuantian.tang @ 2017-02-21  6:51 UTC (permalink / raw)
  To: rjw; +Cc: Tang Yuantian, viresh.kumar, linux-kernel, linux-arm-kernel,
	linux-pm

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

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
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