diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-09 19:35:11 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-06 03:30:09 +0100 |
commit | 69ed175c195595c73901e18366cb0ebeaeb68b8a (patch) | |
tree | 3ba504f46d45401bd82f7257aa43b9c9a63e0e2c /drivers/scsi/sd.c | |
parent | scsi: stop setting up request->special (diff) | |
download | linux-69ed175c195595c73901e18366cb0ebeaeb68b8a.tar.xz linux-69ed175c195595c73901e18366cb0ebeaeb68b8a.zip |
scsi: block: remove req->special
No users left.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 3db9b1fe7516..c124459041dc 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1171,8 +1171,6 @@ static blk_status_t sd_setup_read_write_cmnd(struct scsi_cmnd *cmd) if (ret != BLK_STS_OK) return ret; - WARN_ON_ONCE(cmd != rq->special); - if (!scsi_device_online(sdp) || sdp->changed) { scmd_printk(KERN_ERR, cmd, "device offline or changed\n"); return BLK_STS_IOERR; |