ide-pm: always pass 0 error to ide_complete_rq in ide_do_devset
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Apr 2017 07:34:22 +0000 (09:34 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 13:53:35 +0000 (07:53 -0600)
commit1608fd1ca3b9357ea20ffc3a8ad2d1e4b78301a6
tree6d24e39bc79752422036d0cbb1c2b3e55ff3c8eb
parentce210e92238e976143c07a2d19d18c8919cb16a1
ide-pm: always pass 0 error to ide_complete_rq in ide_do_devset

The caller only looks at the scsi_request result field anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/ide/ide-devsets.c