scsi: core: Remove 'current_tag'
authorHannes Reinecke <hare@suse.de>
Wed, 15 Sep 2021 09:07:15 +0000 (17:07 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Sep 2021 04:13:38 +0000 (00:13 -0400)
The 'current_tag' field in struct scsi_device is unused now; remove it.

Link: https://lore.kernel.org/r/1631696835-136198-4-git-send-email-john.garry@huawei.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/scsi_device.h

index 09a17f6e93a7921b52a91ba7a611724876c1d7a1..b97e142a7ca92d5f45fa21374c2e627ff29afef5 100644 (file)
@@ -146,7 +146,6 @@ struct scsi_device {
        struct scsi_vpd __rcu *vpd_pg83;
        struct scsi_vpd __rcu *vpd_pg80;
        struct scsi_vpd __rcu *vpd_pg89;
-       unsigned char current_tag;      /* current tag */
        struct scsi_target      *sdev_target;
 
        blist_flags_t           sdev_bflags; /* black/white flags as also found in