migration: remove double call to migrate_fd_close
The call in buffered_close is enough, because buffered_close is called already by migrate_fd_cleanup. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
b9c961a8ff
commit
25242635ac
|
@ -605,7 +605,6 @@ static int buffered_close(void *opaque)
|
||||||
if (ret >= 0) {
|
if (ret >= 0) {
|
||||||
ret = ret2;
|
ret = ret2;
|
||||||
}
|
}
|
||||||
ret = migrate_fd_close(s);
|
|
||||||
s->complete = true;
|
s->complete = true;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue