scsi/NCR5380: remove unused BOARD_NORMAL and BOARD_NCR53C400
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:13 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:05:36 +0000 (12:05 +0200)
BOARD_NORMAL is completely unused and BOARD_NCR53C400 is used only by
g_NCR5380 internally. Remove the unused definitions.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/arm/cumana_1.c
drivers/scsi/arm/oak.c
drivers/scsi/mac_scsi.h
drivers/scsi/sun3_scsi.h

index f8e0609000521fd734958538369bce29a7c1f913..8ef810a4476ec15f163069005ceae6b3f6b0f089 100644 (file)
@@ -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 4266eef8aca12256b469b0983e39c652ac43f7c0..188e734c7ff006bb9b7e891ddca23ae00c884b3d 100644 (file)
@@ -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 7dc62fce1c4c6739ec1f21faa59be2aebf55f8ee..6ff92eaf31cb34be52180bbdea518832cdeca677 100644 (file)
@@ -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 a8da9c710fea52bd6caa7c19675d80e693ea7142..7d12a30087d0ab0c97e08d416115841b34cb0085 100644 (file)
@@ -108,9 +108,6 @@ static int sun3scsi_release (struct Scsi_Host *);
 #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 {