diff options
author | Juan Quintela <quintela@redhat.com> | 2012-08-29 19:52:16 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-10-17 18:34:59 +0200 |
commit | 81fdf640e4b479df75fcedf03fb300018f054bfa (patch) | |
tree | 74b6909c03b8fe15531841bc4a7403eabee29788 /buffered_file.c | |
parent | c10682cb031525a8bdf3999ef6a033777929d304 (diff) |
buffered_file: buffered_put_buffer() don't need to set last_error
Callers on savevm.c:qemu_fflush() will set it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'buffered_file.c')
-rw-r--r-- | buffered_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/buffered_file.c b/buffered_file.c index 77928f02c1..ed92df1053 100644 --- a/buffered_file.c +++ b/buffered_file.c @@ -120,8 +120,6 @@ static int buffered_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, in error = buffered_flush(s); if (error < 0) { DPRINTF("buffered flush error. bailing: %s\n", strerror(-error)); - qemu_file_set_error(s->file, error); - return error; } |