Commit 23211c1e authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen
Browse files

scsi_dh_alua: Remove stale variables



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

[mkp: Fixed checkpatch warning]

Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 08c23150
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);