From patchwork Wed Mar 19 12:35:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Finn Thain X-Patchwork-Id: 3862221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4C548BF540 for ; Wed, 19 Mar 2014 23:29:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65767201DE for ; Wed, 19 Mar 2014 23:29:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DFB1201D3 for ; Wed, 19 Mar 2014 23:29:05 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQPu4-0005hr-5G; Wed, 19 Mar 2014 23:28:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQPtq-0004sL-Rv; Wed, 19 Mar 2014 23:27:54 +0000 Received: from kvm5.telegraphics.com.au ([98.124.60.144]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WQPtZ-0004ol-Q8 for linux-arm-kernel@lists.infradead.org; Wed, 19 Mar 2014 23:27:39 +0000 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 53D48286E0; Wed, 19 Mar 2014 19:27:19 -0400 (EDT) Message-Id: <20140319123517.152624382@telegraphics.com.au> User-Agent: quilt/0.50-1 Date: Wed, 19 Mar 2014 23:35:18 +1100 From: Finn Thain To: "James E.J. Bottomley" , Subject: [PATCH v2 02/12] scsi/NCR5380: remove redundant HOSTS_C macro tests References: <20140319123516.542623278@telegraphics.com.au> Content-Disposition: inline; filename=ncr5380-HOSTS_C-macro X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140319_192737_907837_18E48DCE X-CRM114-Status: UNSURE ( 7.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.4 (/) Cc: Sam Creasey , linux-m68k@vger.kernel.org, Russell King , Michael Schmitz , linux-kernel@vger.kernel.org, Joe Perches , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DATE_IN_PAST_06_12, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP HOSTS_C is always undefined. There is no hosts.c anymore. Signed-off-by: Finn Thain --- drivers/scsi/g_NCR5380.h | 3 --- drivers/scsi/mac_scsi.h | 3 --- drivers/scsi/pas16.h | 3 --- drivers/scsi/sun3_scsi.h | 3 --- drivers/scsi/t128.h | 3 --- 5 files changed, 15 deletions(-) Index: linux-m68k/drivers/scsi/g_NCR5380.h =================================================================== --- linux-m68k.orig/drivers/scsi/g_NCR5380.h 2014-03-19 23:23:02.000000000 +1100 +++ linux-m68k/drivers/scsi/g_NCR5380.h 2014-03-19 23:34:39.000000000 +1100 @@ -58,8 +58,6 @@ static const char* generic_NCR5380_info( #define CAN_QUEUE 16 #endif -#ifndef HOSTS_C - #define __STRVAL(x) #x #define STRVAL(x) __STRVAL(x) @@ -131,7 +129,6 @@ static const char* generic_NCR5380_info( #define BOARD_NCR53C400A 2 #define BOARD_DTC3181E 3 -#endif /* else def HOSTS_C */ #endif /* ndef ASM */ #endif /* GENERIC_NCR5380_H */ Index: linux-m68k/drivers/scsi/mac_scsi.h =================================================================== --- linux-m68k.orig/drivers/scsi/mac_scsi.h 2014-03-19 23:34:36.000000000 +1100 +++ linux-m68k/drivers/scsi/mac_scsi.h 2014-03-19 23:34:39.000000000 +1100 @@ -51,8 +51,6 @@ #include -#ifndef HOSTS_C - #define NCR5380_implementation_fields \ int port, ctrl @@ -75,7 +73,6 @@ #define NCR5380_show_info macscsi_show_info #define NCR5380_write_info macscsi_write_info -#endif /* ndef HOSTS_C */ #endif /* ndef ASM */ #endif /* MAC_NCR5380_H */ Index: linux-m68k/drivers/scsi/pas16.h =================================================================== --- linux-m68k.orig/drivers/scsi/pas16.h 2014-03-19 23:23:02.000000000 +1100 +++ linux-m68k/drivers/scsi/pas16.h 2014-03-19 23:34:39.000000000 +1100 @@ -129,8 +129,6 @@ static int pas16_bus_reset(Scsi_Cmnd *); #define CAN_QUEUE 32 #endif -#ifndef HOSTS_C - #define NCR5380_implementation_fields \ volatile unsigned short io_port @@ -171,6 +169,5 @@ static int pas16_bus_reset(Scsi_Cmnd *); #define PAS16_IRQS 0xd4a8 -#endif /* else def HOSTS_C */ #endif /* ndef ASM */ #endif /* PAS16_H */ Index: linux-m68k/drivers/scsi/sun3_scsi.h =================================================================== --- linux-m68k.orig/drivers/scsi/sun3_scsi.h 2014-03-19 23:34:36.000000000 +1100 +++ linux-m68k/drivers/scsi/sun3_scsi.h 2014-03-19 23:34:39.000000000 +1100 @@ -82,8 +82,6 @@ static int sun3scsi_release (struct Scsi #define SUN3_SCSI_NAME "Sun3 NCR5380 SCSI" #endif -#ifndef HOSTS_C - #define NCR5380_implementation_fields \ int port, ctrl @@ -371,6 +369,5 @@ struct sun3_udc_regs { -#endif /* ndef HOSTS_C */ #endif /* SUN3_NCR5380_H */ Index: linux-m68k/drivers/scsi/t128.h =================================================================== --- linux-m68k.orig/drivers/scsi/t128.h 2014-03-19 23:23:02.000000000 +1100 +++ linux-m68k/drivers/scsi/t128.h 2014-03-19 23:34:39.000000000 +1100 @@ -107,8 +107,6 @@ static int t128_bus_reset(struct scsi_cm #define CAN_QUEUE 32 #endif -#ifndef HOSTS_C - #define NCR5380_implementation_fields \ void __iomem *base @@ -148,6 +146,5 @@ static int t128_bus_reset(struct scsi_cm #define T128_IRQS 0xc4a8 -#endif /* else def HOSTS_C */ #endif /* ndef ASM */ #endif /* T128_H */