diff options
author | Wei Yang | 2019-09-11 15:28:38 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-09-12 12:23:26 +0200 |
commit | 89fe04b4585c97fda7c173bee97bbacb32f64e80 (patch) | |
tree | e27e41f283bf7103958803450c3f6b54fc091867 /tpm.c | |
parent | migration: Fix postcopy bw for recovery (diff) | |
download | qemu-89fe04b4585c97fda7c173bee97bbacb32f64e80.tar.gz qemu-89fe04b4585c97fda7c173bee97bbacb32f64e80.tar.xz qemu-89fe04b4585c97fda7c173bee97bbacb32f64e80.zip |
migration/qemu-file: remove check on writev_buffer in qemu_put_compression_data
The check of writev_buffer is in qemu_fflush, which means it is not
harmful if it is NULL.
And removing it will make the code consistent since all other
add_to_iovec() is called without the check.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190911132839.23336-2-richard.weiyang@gmail.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions