atp870u: Remove chip_ver from struct atp_unit
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:19 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:50 +0000 (22:08 -0500)
commitdd5a5f7951e253b81ac480a63dfd8b826a9ef61e
tree3d9a43bfaa5dd58394f907d3af052ba6d7853bd9
parentb1e850630b746e347f80cb3f70bdaa791c10b4f6
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>
drivers/scsi/atp870u.c
drivers/scsi/atp870u.h