aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/arm/oak.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 00:11:50 -0500
committerChristoph Hellwig <hch@lst.de>2014-11-20 03:11:04 -0500
commit48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f (patch)
treed5247b4d9c4d7e23609041b3baeea4ec94c3556c /drivers/scsi/arm/oak.c
parent925e4610933ed8ad047015188186b6d98105b980 (diff)
ncr5380: Remove unused macros
Some macros are never evaluated (i.e. FOO, USLEEP, SCSI2 and USE_WRAPPER; and in some drivers, NCR5380_intr and NCR5380_proc_info). DRIVER_SETUP serves no purpose anymore. Remove these macro definitions. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.de> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/arm/oak.c')
-rw-r--r--drivers/scsi/arm/oak.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c
index 188e734c7ff0..5ba3db605000 100644
--- a/drivers/scsi/arm/oak.c
+++ b/drivers/scsi/arm/oak.c
@@ -29,7 +29,6 @@
29 29
30#define NCR5380_read(reg) readb(_base + ((reg) << 2)) 30#define NCR5380_read(reg) readb(_base + ((reg) << 2))
31#define NCR5380_write(reg, value) writeb(value, _base + ((reg) << 2)) 31#define NCR5380_write(reg, value) writeb(value, _base + ((reg) << 2))
32#define NCR5380_intr oakscsi_intr
33#define NCR5380_queue_command oakscsi_queue_command 32#define NCR5380_queue_command oakscsi_queue_command
34#define NCR5380_show_info oakscsi_show_info 33#define NCR5380_show_info oakscsi_show_info
35#define NCR5380_write_info oakscsi_write_info 34#define NCR5380_write_info oakscsi_write_info