diff options
Diffstat (limited to 'block/blkreplay.c')
-rwxr-xr-x | block/blkreplay.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blkreplay.c b/block/blkreplay.c index e1102119fb..6aa5fd4156 100755 --- a/block/blkreplay.c +++ b/block/blkreplay.c @@ -37,9 +37,6 @@ static int blkreplay_open(BlockDriverState *bs, QDict *options, int flags, ret = 0; fail: - if (ret < 0) { - bdrv_unref_child(bs, bs->file); - } return ret; } |