aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-11-10 18:58:40 +0100
committerJuan Quintela <quintela@redhat.com>2013-01-17 13:54:16 +0100
commit25242635acb0b803392ad5669b5624815af3fd07 (patch)
tree8bf8d48e423390c46c1e4a43a02ebf62e505cf4f /migration.c
parentb9c961a8ff3973b97964431491bc3f4f427cd66a (diff)
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>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index 1f4c6ee16f..5513dde18d 100644
--- a/migration.c
+++ b/migration.c
@@ -605,7 +605,6 @@ static int buffered_close(void *opaque)
if (ret >= 0) {
ret = ret2;
}
- ret = migrate_fd_close(s);
s->complete = true;
return ret;
}