Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: yuantian.tang@nxp.com (yuantian.tang at nxp.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] cpufreq: qoriq: clean up unused code
Date: Tue, 21 Feb 2017 14:51:24 +0800	[thread overview]
Message-ID: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com> (raw)

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

             reply	other threads:[~2017-02-21  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21  6:51 yuantian.tang at nxp.com [this message]
2017-02-21  9:04 ` [PATCH] cpufreq: qoriq: clean up unused code Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487659884-29040-1-git-send-email-yuantian.tang@nxp.com \
    --to=yuantian.tang@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox