From patchwork Tue Mar 18 00:42:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Finn Thain X-Patchwork-Id: 3847021 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 B3D37BF540 for ; Tue, 18 Mar 2014 01:02:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA1872022F for ; Tue, 18 Mar 2014 01:02:49 +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 C2B142022D for ; Tue, 18 Mar 2014 01:02:48 +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 1WPiPc-0004Sr-Rs; Tue, 18 Mar 2014 01:01:49 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPiPP-0003p3-6V; Tue, 18 Mar 2014 01:01:35 +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 1WPiOr-0003kT-MH for linux-arm-kernel@lists.infradead.org; Tue, 18 Mar 2014 01:01:03 +0000 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 4139E24856; Mon, 17 Mar 2014 20:42:56 -0400 (EDT) Message-Id: <20140318004212.932470722@telegraphics.com.au> User-Agent: quilt/0.50-1 Date: Tue, 18 Mar 2014 11:42:13 +1100 From: Finn Thain To: "James E.J. Bottomley" , Subject: [PATCH 01/12] scsi/NCR5380: remove unused BOARD_NORMAL and BOARD_NCR53C400 References: <20140318004212.612472697@telegraphics.com.au> Content-Disposition: inline; filename=ncr5380-BOARD-macros X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140317_210102_013464_548A8083 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Sam Creasey , linux-m68k@vger.kernel.org, Russell King , Michael Schmitz , linux-kernel@vger.kernel.org, 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=-4.2 required=5.0 tests=BAYES_00, 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 BOARD_NORMAL is completely unused and BOARD_NCR53C400 is used only by g_NCR5380 internally. Remove the unused definitions. Signed-off-by: Finn Thain Reviewed-by: Christoph Hellwig --- drivers/scsi/arm/cumana_1.c | 3 --- drivers/scsi/arm/oak.c | 3 --- drivers/scsi/mac_scsi.h | 3 --- drivers/scsi/sun3_scsi.h | 3 --- 4 files changed, 12 deletions(-) Index: linux-m68k/drivers/scsi/arm/cumana_1.c =================================================================== --- linux-m68k.orig/drivers/scsi/arm/cumana_1.c 2014-03-17 23:49:31.000000000 +1100 +++ linux-m68k/drivers/scsi/arm/cumana_1.c 2014-03-18 00:18:20.000000000 +1100 @@ -36,9 +36,6 @@ void __iomem *base; \ void __iomem *dma -#define BOARD_NORMAL 0 -#define BOARD_NCR53C400 1 - #include "../NCR5380.h" void cumanascsi_setup(char *str, int *ints) Index: linux-m68k/drivers/scsi/arm/oak.c =================================================================== --- linux-m68k.orig/drivers/scsi/arm/oak.c 2014-03-17 23:49:31.000000000 +1100 +++ linux-m68k/drivers/scsi/arm/oak.c 2014-03-18 00:18:20.000000000 +1100 @@ -37,9 +37,6 @@ #define NCR5380_implementation_fields \ void __iomem *base -#define BOARD_NORMAL 0 -#define BOARD_NCR53C400 1 - #include "../NCR5380.h" #undef START_DMA_INITIATOR_RECEIVE_REG Index: linux-m68k/drivers/scsi/mac_scsi.h =================================================================== --- linux-m68k.orig/drivers/scsi/mac_scsi.h 2014-03-17 23:49:31.000000000 +1100 +++ linux-m68k/drivers/scsi/mac_scsi.h 2014-03-18 00:18:20.000000000 +1100 @@ -75,9 +75,6 @@ #define NCR5380_show_info macscsi_show_info #define NCR5380_write_info macscsi_write_info -#define BOARD_NORMAL 0 -#define BOARD_NCR53C400 1 - #endif /* ndef HOSTS_C */ #endif /* ndef ASM */ #endif /* MAC_NCR5380_H */ Index: linux-m68k/drivers/scsi/sun3_scsi.h =================================================================== --- linux-m68k.orig/drivers/scsi/sun3_scsi.h 2014-03-17 23:49:31.000000000 +1100 +++ linux-m68k/drivers/scsi/sun3_scsi.h 2014-03-18 00:18:20.000000000 +1100 @@ -108,9 +108,6 @@ static int sun3scsi_release (struct Scsi #define NCR5380_dma_read_setup(instance, data, count) sun3scsi_dma_setup(data, count, 0) #define NCR5380_dma_residual sun3scsi_dma_residual -#define BOARD_NORMAL 0 -#define BOARD_NCR53C400 1 - /* additional registers - mainly DMA control regs */ /* these start at regbase + 8 -- directly after the NCR regs */ struct sun3_dma_regs {