summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dmx3191d.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2014-11-12 16:11:48 +1100
committerChristoph Hellwig <hch@lst.de>2014-11-20 09:11:03 +0100
commitacfc8cad9135444fdad5385cd9f795fab469a699 (patch)
tree5218297eb7f14e03e5b4752b9f969902f5af672d /drivers/scsi/dmx3191d.c
parentd61c5427f652dd89128f1d2b077aebece3c1a884 (diff)
downloadtalos-obmc-linux-acfc8cad9135444fdad5385cd9f795fab469a699.tar.gz
talos-obmc-linux-acfc8cad9135444fdad5385cd9f795fab469a699.zip
ncr5380: Remove unused hostdata fields
Remove unused fields from hostdata structs declared with the NCR5380_implementation_fields macro. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
-rw-r--r--drivers/scsi/dmx3191d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c
index 4b0dd8c56707..6d534b9ffc91 100644
--- a/drivers/scsi/dmx3191d.c
+++ b/drivers/scsi/dmx3191d.c
@@ -38,8 +38,8 @@
#define NCR5380_read(reg) inb(port + reg)
#define NCR5380_write(reg, value) outb(value, port + reg)
-#define NCR5380_implementation_fields unsigned int port
-#define NCR5380_local_declare() NCR5380_implementation_fields
+#define NCR5380_implementation_fields /* none */
+#define NCR5380_local_declare() unsigned int port
#define NCR5380_setup(instance) port = instance->io_port
/*
OpenPOWER on IntegriCloud