Skip to content
Commit b8014871 authored by Miaohe Lin's avatar Miaohe Lin Committed by Greg Kroah-Hartman
Browse files

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: default avatarMiaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220905102754.1942-1-linmiaohe@huawei.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 1b0a151c ("blk-core: use pr_warn_ratelimited() in bio_check_ro()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d8d94d6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment