block: remove unneeded return value of bio_check_ro()
[ Upstream commit bdb7d420 ] 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> Stable-dep-of: 1b0a151c ("blk-core: use pr_warn_ratelimited() in bio_check_ro()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment