summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_scsi.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/sun3_scsi.c
parentd61c5427f652dd89128f1d2b077aebece3c1a884 (diff)
downloadlinux-stable-acfc8cad9135444fdad5385cd9f795fab469a699.tar.gz
linux-stable-acfc8cad9135444fdad5385cd9f795fab469a699.tar.bz2
linux-stable-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/sun3_scsi.c')
-rw-r--r--drivers/scsi/sun3_scsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
index 9707b7494a89..cd4bf3a5faaa 100644
--- a/drivers/scsi/sun3_scsi.c
+++ b/drivers/scsi/sun3_scsi.c
@@ -313,8 +313,6 @@ static int __init sun3scsi_detect(struct scsi_host_template *tpnt)
instance->n_io_port = 32;
- ((struct NCR5380_hostdata *)instance->hostdata)->ctrl = 0;
-
if (request_irq(instance->irq, scsi_sun3_intr,
0, "Sun3SCSI-5380", instance)) {
#ifndef REAL_DMA