diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-01 23:57:45 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 22:23:06 +0300 |
commit | beecc8438c6c2089b0a1f82720530c82da5765bc (patch) | |
tree | 2e01c2e2fee2761cb2bc63d56047283610550862 /drivers/md/persistent-data | |
parent | ced6e475c3754dad3b63966d79f375d8f7193750 (diff) | |
download | linux-beecc8438c6c2089b0a1f82720530c82da5765bc.tar.xz |
dm block-manager: avoid not required parentheses
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/persistent-data')
-rw-r--r-- | drivers/md/persistent-data/dm-block-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/persistent-data/dm-block-manager.c b/drivers/md/persistent-data/dm-block-manager.c index 6200b0932135..de5e4b5df553 100644 --- a/drivers/md/persistent-data/dm-block-manager.c +++ b/drivers/md/persistent-data/dm-block-manager.c @@ -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); |