From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbdBUJFM (ORCPT ); Tue, 21 Feb 2017 04:05:12 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:33520 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751086AbdBUJFE (ORCPT ); Tue, 21 Feb 2017 04:05:04 -0500 Date: Tue, 21 Feb 2017 14:34:56 +0530 From: Viresh Kumar To: yuantian.tang@nxp.com Cc: rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] cpufreq: qoriq: clean up unused code Message-ID: <20170221090456.GX21911@vireshk-i7> References: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1487659884-29040-1-git-send-email-yuantian.tang@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-02-17, 14:51, yuantian.tang@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