]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0daa8a602b839dbc47fbf4a529fa48fb4799fcc6
tree0f767ff78eda18e644dfe698c24cdfa580c55818
parent3a455e524b904e8d619cb3a6bd2de9181c9f496b
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