Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755795Ab0F3Ttp (ORCPT ); Wed, 30 Jun 2010 15:49:45 -0400 Received: from shutemov.name ([188.40.19.243]:46337 "EHLO shutemov.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752867Ab0F3Tto (ORCPT ); Wed, 30 Jun 2010 15:49:44 -0400 Date: Wed, 30 Jun 2010 22:49:42 +0300 From: "Kirill A. Shutemov" To: Baruch Siach Cc: Christoph Egger , Kevin Hilman , Sudhakar Rajashekhara , Russell King , vamos@i4.informatik.uni-erlangen.de, Steve Chen , linux-kernel@vger.kernel.org, Sandeep Paulraj , Cyril Chemparathy , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 02/33] Removing dead ARCH_DAVINCI_TNETV107X Message-ID: <20100630194942.GB3969@shutemov.name> References: <88ee583babc6f0aecb2238a57644f64159d5c395.1277911346.git.siccegge@cs.fau.de> <20100630170730.GE23534@tarshish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100630170730.GE23534@tarshish> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1404 Lines: 38 On Wed, Jun 30, 2010 at 08:07:31PM +0300, Baruch Siach wrote: > Hi Christoph, > > On Wed, Jun 30, 2010 at 06:05:38PM +0200, Christoph Egger wrote: > > ARCH_DAVINCI_TNETV107X doesn't exist in Kconfig, therefore removing > > all references for it from the source code. > > > > Signed-off-by: Christoph Egger > > --- > > arch/arm/mach-davinci/include/mach/cputype.h | 6 ------ > > 1 files changed, 0 insertions(+), 6 deletions(-) > > > > diff --git a/arch/arm/mach-davinci/include/mach/cputype.h b/arch/arm/mach-davinci/include/mach/cputype.h > > index cea6b89..6143022 100644 > > --- a/arch/arm/mach-davinci/include/mach/cputype.h > > +++ b/arch/arm/mach-davinci/include/mach/cputype.h > > @@ -85,10 +85,4 @@ IS_DAVINCI_CPU(tnetv107x, DAVINCI_CPU_ID_TNETV107X) > > #define cpu_is_davinci_da850() 0 > > #endif > > > > -#ifdef CONFIG_ARCH_DAVINCI_TNETV107X > > -#define cpu_is_davinci_tnetv107x() is_davinci_tnetv107x() > > -#else > > -#define cpu_is_davinci_tnetv107x() 0 > > Why remove the #else part? Nobody uses cpu_is_davinci_tnetv107x as well. Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/