diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-09 14:42:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-09 19:17:14 -0700 |
commit | 14784565f740e862adae4b1d7c91f51b4038c4f5 (patch) | |
tree | a7997ce39a5ad73e5d5ce3526511a43df801bb33 /drivers/scsi/sd.h | |
parent | 785ba83b4f3e4fde236f03205dd1cd98fd6a5255 (diff) |
scsi: clean up error handling in scsi_init_io
There is no need to call scsi_mq_free_sgtables until we have actually
allocated sgtables.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions