summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm-thin-metadata.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/dm-thin-metadata.c b/drivers/md/dm-thin-metadata.c
index 7317f1b4ab15..51b97f07aca3 100644
--- a/drivers/md/dm-thin-metadata.c
+++ b/drivers/md/dm-thin-metadata.c
@@ -512,11 +512,6 @@ static int __format_metadata(struct dm_pool_metadata *pmd)
__setup_btree_details(pmd);
- pmd->root = 0;
- pmd->details_root = 0;
- pmd->trans_id = 0;
- pmd->flags = 0;
-
r = dm_btree_empty(&pmd->info, &pmd->root);
if (r < 0)
goto bad_data_sm;