aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-08-13 21:49:13 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-17 22:28:39 -0400
commit4c7b6ea336c1e415fc002c756449835de768914c (patch)
tree6bd6f7819223123a68d18198753e0fbc0cee0d9f /drivers/scsi/scsi_lib.c
parentscsi: ibmvfc: Stop using scsi_cmnd.tag (diff)
downloadlinux-dev-4c7b6ea336c1e415fc002c756449835de768914c.tar.xz
linux-dev-4c7b6ea336c1e415fc002c756449835de768914c.zip
scsi: core: Remove scsi_cmnd.tag
It is never read, so get rid of it. Link: https://lore.kernel.org/r/1628862553-179450-4-git-send-email-john.garry@huawei.com Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 9ba1aa7530a9..572673873ddf 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1540,7 +1540,6 @@ static blk_status_t scsi_prepare_cmd(struct request *req)
scsi_init_command(sdev, cmd);
- cmd->tag = req->tag;
cmd->prot_op = SCSI_PROT_NORMAL;
if (blk_rq_bytes(req))
cmd->sc_data_direction = rq_dma_dir(req);