summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/arm
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 16:11:50 +1100
committerChristoph Hellwig <hch@lst.de>2014-11-20 09:11:04 +0100
commit48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f (patch)
treed5247b4d9c4d7e23609041b3baeea4ec94c3556c /drivers/scsi/arm
parent925e4610933ed8ad047015188186b6d98105b980 (diff)
downloadop-kernel-dev-48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f.zip
op-kernel-dev-48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f.tar.gz
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')
-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 188e734..5ba3db6 100644
--- a/drivers/scsi/arm/oak.c
+++ b/drivers/scsi/arm/oak.c
@@ -29,7 +29,6 @@
#define NCR5380_read(reg) readb(_base + ((reg) << 2))
#define NCR5380_write(reg, value) writeb(value, _base + ((reg) << 2))
-#define NCR5380_intr oakscsi_intr
#define NCR5380_queue_command oakscsi_queue_command
#define NCR5380_show_info oakscsi_show_info
#define NCR5380_write_info oakscsi_write_info
OpenPOWER on IntegriCloud