diff options
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -2859,13 +2859,8 @@ int bdrv_img_create(const char *filename, const char *fmt, if (get_option_parameter(param, BLOCK_OPT_SIZE)->value.n == -1) { if (backing_file && backing_file->value.s) { uint64_t size; - const char *fmt = NULL; char buf[32]; - if (backing_fmt && backing_fmt->value.s) { - fmt = backing_fmt->value.s; - } - bs = bdrv_new(""); ret = bdrv_open(bs, backing_file->value.s, flags, drv); |