diff options
Diffstat (limited to 'block/vmdk.c')
-rw-r--r-- | block/vmdk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index 5d16ec49bc..396913166a 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -1387,7 +1387,6 @@ static int vmdk_create(const char *filename, QEMUOptionParameter *options) bdrv_delete(bs); return -EINVAL; } - filesize = bdrv_getlength(bs); parent_cid = vmdk_read_cid(bs, 0); bdrv_delete(bs); relative_path(parent_filename, sizeof(parent_filename), |