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/qedi | |
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/qedi')
-rw-r--r-- | drivers/scsi/qedi/qedi_fw.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/qedi/qedi_fw.c b/drivers/scsi/qedi/qedi_fw.c index 25d763ae5d5a..e2a995a6e8e7 100644 --- a/drivers/scsi/qedi/qedi_fw.c +++ b/drivers/scsi/qedi/qedi_fw.c @@ -616,13 +616,6 @@ static void qedi_scsi_completion(struct qedi_ctx *qedi, goto error; } - if (!sc_cmd->request->special) { - QEDI_WARN(&qedi->dbg_ctx, - "request->special is NULL so request not valid, sc_cmd=%p.\n", - sc_cmd); - goto error; - } - if (!sc_cmd->request->q) { QEDI_WARN(&qedi->dbg_ctx, "request->q is NULL so request is not valid, sc_cmd=%p.\n", |