diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-05-28 12:44:00 +0300 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-07-06 10:34:14 +0200 |
commit | 74036395ea4a67a638c0ffc35ee4860ac36bcd16 (patch) | |
tree | 08d1355b2281c1182e060227959d1ac0ed284dae /block/crypto.c | |
parent | 2c060c0f50220bebabacccb8e321df049cca602e (diff) |
block/crypto: drop unallocated_blocks_are_zero
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>
Message-Id: <20200528094405.145708-6-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/crypto.c')
-rw-r--r-- | block/crypto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/crypto.c b/block/crypto.c index 3fbd68832b..2636e959ae 100644 --- a/block/crypto.c +++ b/block/crypto.c @@ -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; |