]> Git Repo - qemu.git/commitdiff
block/crypto: drop unallocated_blocks_are_zero
authorVladimir Sementsov-Ogievskiy <[email protected]>
Thu, 28 May 2020 09:44:00 +0000 (12:44 +0300)
committerMax Reitz <[email protected]>
Mon, 6 Jul 2020 08:34:14 +0000 (10:34 +0200)
It's false by default, no needs to set it. We are going to drop this
variable at all, so drop it now here, it doesn't hurt.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20200528094405[email protected]>
Signed-off-by: Max Reitz <[email protected]>
block/crypto.c

index 3fbd68832bf91b3808903190ded334a474626bea..2636e959aeb0f3458dcf5ba40d381d83827099e8 100644 (file)
@@ -758,7 +758,6 @@ static int block_crypto_get_info_luks(BlockDriverState *bs,
         return ret;
     }
 
-    bdi->unallocated_blocks_are_zero = false;
     bdi->cluster_size = subbdi.cluster_size;
 
     return 0;
This page took 0.027111 seconds and 4 git commands to generate.