scsi_dh_alua: Remove stale variables

With commit 83ea0e5e35 ("scsi_dh_alua: use scsi_vpd_tpg_id()") these
variables became obsolete, but weren't removed.

[mkp: Fixed checkpatch warning]

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Hannes Reinecke 2015-12-03 07:57:35 +01:00 committed by Martin K. Petersen
parent 08c2315015
commit 23211c1e7a

View File

@ -320,8 +320,6 @@ static int alua_check_tpgs(struct scsi_device *sdev)
*/
static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h)
{
unsigned char *d;
unsigned char __rcu *vpd_pg83;
int rel_port = -1, group_id;
group_id = scsi_vpd_tpg_id(sdev, &rel_port);