diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-02 19:10:52 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 22:23:06 +0300 |
commit | 2d0f25cbc0d948e01573cc8ff5967e81bd98a4a1 (patch) | |
tree | 4a2760a3d16ba7fb64c5efdc7417004b0920c2a6 /drivers/md/dm-thin-metadata.c | |
parent | 0ef0b4717aa6849d251b23ae1efe93ca93af540b (diff) | |
download | linux-2d0f25cbc0d948e01573cc8ff5967e81bd98a4a1.tar.xz |
dm: remove unnecessary braces from single statement blocks
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
-rw-r--r-- | drivers/md/dm-thin-metadata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-thin-metadata.c b/drivers/md/dm-thin-metadata.c index 7f9b25ddc89c..98a75a97aa86 100644 --- a/drivers/md/dm-thin-metadata.c +++ b/drivers/md/dm-thin-metadata.c @@ -1536,9 +1536,9 @@ static int __find_block(struct dm_thin_device *td, dm_block_t block, dm_block_t keys[2] = { td->id, block }; struct dm_btree_info *info; - if (can_issue_io) { + if (can_issue_io) info = &pmd->info; - } else + else info = &pmd->nb_info; r = dm_btree_lookup(info, pmd->root, keys, &value); |