aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-08 09:32:43 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-05 21:29:49 -0500
commitb9f91992991b27e72d93113095b9b92919ed0b71 (patch)
tree18e684a0a3c7bed6344ec12d2c4ae0d4116a9579 /drivers/scsi/scsi_lib.c
parentscsi: remove bidirectional command support (diff)
downloadlinux-dev-b9f91992991b27e72d93113095b9b92919ed0b71.tar.xz
linux-dev-b9f91992991b27e72d93113095b9b92919ed0b71.zip
scsi: stop setting up request->special
No more need in a blk-mq world where the scsi command and request are allocated together. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> 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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 2667bb95a441..d25101c5e3b8 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1566,10 +1566,7 @@ static blk_status_t scsi_mq_prep_fn(struct request *req)
scsi_init_command(sdev, cmd);
- req->special = cmd;
-
cmd->request = req;
-
cmd->tag = req->tag;
cmd->prot_op = SCSI_PROT_NORMAL;