summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-11-17 19:24:19 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-25 22:08:50 -0500
commitdd5a5f7951e253b81ac480a63dfd8b826a9ef61e (patch)
tree3d9a43bfaa5dd58394f907d3af052ba6d7853bd9 /drivers/scsi/atp870u.h
parentb1e850630b746e347f80cb3f70bdaa791c10b4f6 (diff)
downloadop-kernel-dev-dd5a5f7951e253b81ac480a63dfd8b826a9ef61e.zip
op-kernel-dev-dd5a5f7951e253b81ac480a63dfd8b826a9ef61e.tar.gz
atp870u: Remove chip_ver from struct atp_unit
chip_ver is used for wide chip detection only. Remove it and use a local variable instead (for 870; 880 and 885 are always wide). 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 c3c6c13..8c47c53 100644
--- a/drivers/scsi/atp870u.h
+++ b/drivers/scsi/atp870u.h
@@ -32,7 +32,6 @@ struct atp_unit
unsigned char quhd[2];
unsigned char quend[2];
unsigned char global_map[2];
- unsigned char chip_ver;
unsigned char scam_on;
unsigned char host_id[2];
unsigned int working[2];
OpenPOWER on IntegriCloud