Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: viresh.kumar@linaro.org (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] cpufreq: qoriq: clean up unused code
Date: Tue, 21 Feb 2017 14:34:56 +0530	[thread overview]
Message-ID: <20170221090456.GX21911@vireshk-i7> (raw)
In-Reply-To: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com>

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

      reply	other threads:[~2017-02-21  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=20170221090456.GX21911@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --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