block: remove unneeded return value of bio_check_ro()
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 5 Sep 2022 10:27:54 +0000 (18:27 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Sep 2022 17:45:35 +0000 (11:45 -0600)
commitbdb7d420c6f6d2618d4c907cd7742c3195c425e2
treedc23e19f37584958a7e3e8a91400c10d2d80369a
parent6d5e8d21e8997b0efa409e46db22a27b5cbba6aa
block: remove unneeded return value of bio_check_ro()

bio_check_ro() always return false now. Remove this unneeded return value
and cleanup the sole caller. No functional change intended.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220905102754.1942-1-linmiaohe@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c