scsi_dh_alua: Remove stale variables
authorHannes Reinecke <hare@suse.de>
Thu, 3 Dec 2015 06:57:35 +0000 (07:57 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Dec 2015 01:11:25 +0000 (20:11 -0500)
With commit 83ea0e5e3501 ("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>
drivers/scsi/device_handler/scsi_dh_alua.c

index f100cbb7d2e19303bf025108e22eaac39b13dd32..5a328bf8183678ecc27fa63f6c2d808e5fb7163f 100644 (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);