mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
dm block-manager: avoid not required parentheses
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
ced6e475c3
commit
beecc8438c
@ -620,7 +620,7 @@ void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b)
|
||||
|
||||
bool dm_bm_is_read_only(struct dm_block_manager *bm)
|
||||
{
|
||||
return (bm ? bm->read_only : true);
|
||||
return bm ? bm->read_only : true;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dm_bm_is_read_only);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user