summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-11-17 19:24:21 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-26 04:08:51 +0100
commitb922a44995a6e94560aa3eae0602bf92a4e7b084 (patch)
treed57221ea7db5dfa0beba7305801cbc8c50df587b /drivers/scsi/atp870u.h
parentatp870u: Simplify _probe() (diff)
downloadlinux-b922a44995a6e94560aa3eae0602bf92a4e7b084.tar.xz
linux-b922a44995a6e94560aa3eae0602bf92a4e7b084.zip
atp870u: Introduce is880(), is885() and remove dev_id
Introduce chip type inline functions to simplify code, allowing to delete dev_id from struct atp_unit. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Hannes Reinicke <hare@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/atp870u.h')
-rw-r--r--drivers/scsi/atp870u.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/atp870u.h b/drivers/scsi/atp870u.h
index 8c47c53aee7f..f9d62a217089 100644
--- a/drivers/scsi/atp870u.h
+++ b/drivers/scsi/atp870u.h
@@ -39,7 +39,6 @@ struct atp_unit
unsigned short active_id[2];
unsigned short ultra_map[2];
unsigned short async[2];
- unsigned short dev_id;
unsigned char sp[2][16];
unsigned char r1f[2][16];
struct scsi_cmnd *quereq[2][qcnt];