diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-11-01 16:36:27 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 13:42:32 -0700 |
commit | f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 (patch) | |
tree | d49b6866c48f12638ae5e8dcbddf97d0074243e4 /drivers/scsi/scsi_error.c | |
parent | 3a7ea2c483a53fc89e336f69c6ee1d7defe00811 (diff) | |
download | linux-f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6.tar.gz linux-f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6.tar.bz2 linux-f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6.zip |
scsi: kill off the legacy IO path
This removes the legacy (non-mq) IO path for SCSI.
Cc: linux-scsi@vger.kernel.org
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
-rw-r--r-- | drivers/scsi/scsi_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index c736d61b1648..fff128aa9ec2 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -308,7 +308,7 @@ enum blk_eh_timer_return scsi_times_out(struct request *req) * error handler. In that case we can return immediately as no * further action is required. */ - if (req->q->mq_ops && !blk_mq_mark_complete(req)) + if (!blk_mq_mark_complete(req)) return rtn; if (scsi_abort_command(scmd) != SUCCESS) { set_host_byte(scmd, DID_TIME_OUT); |