block: get rid of useless goto and label in blk_mq_get_new_requests()
authorJens Axboe <axboe@kernel.dk>
Thu, 2 Dec 2021 19:42:58 +0000 (12:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Dec 2021 19:42:58 +0000 (12:42 -0700)
commit373b5416b4b03ebda5d8f0605b81eff0dc76ebcf
tree0f767ff78eda18e644dfe698c24cdfa580c55818
parent18d78171c061889a9a43152f60d6a27a10fc7656
block: get rid of useless goto and label in blk_mq_get_new_requests()

Expected case is returning a request, just check for success and return
the request rather than having an error label.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c