diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-08 09:32:43 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-06 03:29:49 +0100 |
commit | b9f91992991b27e72d93113095b9b92919ed0b71 (patch) | |
tree | 18e684a0a3c7bed6344ec12d2c4ae0d4116a9579 /drivers/scsi/sr.c | |
parent | scsi: remove bidirectional command support (diff) | |
download | linux-b9f91992991b27e72d93113095b9b92919ed0b71.tar.xz linux-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/sr.c')
-rw-r--r-- | drivers/scsi/sr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 38ddbbfe5f3c..039c27c2d7b3 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -394,7 +394,6 @@ static blk_status_t sr_init_command(struct scsi_cmnd *SCpnt) ret = scsi_init_io(SCpnt); if (ret != BLK_STS_OK) goto out; - WARN_ON_ONCE(SCpnt != rq->special); cd = scsi_cd(rq->rq_disk); /* from here on until we're complete, any goto out |