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>
This commit is contained in:
Paolo Bonzini 2012-11-10 18:58:40 +01:00 committed by Juan Quintela
parent bde54c08b4
commit 24ea1e4b4b
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ static int migrate_fd_cleanup(MigrationState *s)
s->file = NULL;
}
migrate_fd_close(s);
assert(s->fd == -1);
return ret;
}