Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi/NCR5380: remove unused BOARD_NORMAL and BOARD_NCR53C400

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>

authored by

Finn Thain and committed by
Christoph Hellwig
d0d22efb b57d7c01

-12
-3
drivers/scsi/arm/cumana_1.c
··· 36 36 void __iomem *base; \ 37 37 void __iomem *dma 38 38 39 - #define BOARD_NORMAL 0 40 - #define BOARD_NCR53C400 1 41 - 42 39 #include "../NCR5380.h" 43 40 44 41 void cumanascsi_setup(char *str, int *ints)
-3
drivers/scsi/arm/oak.c
··· 37 37 #define NCR5380_implementation_fields \ 38 38 void __iomem *base 39 39 40 - #define BOARD_NORMAL 0 41 - #define BOARD_NCR53C400 1 42 - 43 40 #include "../NCR5380.h" 44 41 45 42 #undef START_DMA_INITIATOR_RECEIVE_REG
-3
drivers/scsi/mac_scsi.h
··· 75 75 #define NCR5380_show_info macscsi_show_info 76 76 #define NCR5380_write_info macscsi_write_info 77 77 78 - #define BOARD_NORMAL 0 79 - #define BOARD_NCR53C400 1 80 - 81 78 #endif /* ndef HOSTS_C */ 82 79 #endif /* ndef ASM */ 83 80 #endif /* MAC_NCR5380_H */
-3
drivers/scsi/sun3_scsi.h
··· 108 108 #define NCR5380_dma_read_setup(instance, data, count) sun3scsi_dma_setup(data, count, 0) 109 109 #define NCR5380_dma_residual sun3scsi_dma_residual 110 110 111 - #define BOARD_NORMAL 0 112 - #define BOARD_NCR53C400 1 113 - 114 111 /* additional registers - mainly DMA control regs */ 115 112 /* these start at regbase + 8 -- directly after the NCR regs */ 116 113 struct sun3_dma_regs {