diff mbox series

[v2,5/9] block/crypto: drop unallocated_blocks_are_zero

Message ID 20200507084800.20596-6-vsementsov@virtuozzo.com
State New
Headers show
Series drop unallocated_blocks_are_zero | expand

Commit Message

Vladimir Sementsov-Ogievskiy May 7, 2020, 8:47 a.m. UTC
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 <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
---
 block/crypto.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/block/crypto.c b/block/crypto.c
index e02f343590..7685e61844 100644
--- a/block/crypto.c
+++ b/block/crypto.c
@@ -694,7 +694,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;