aboutsummaryrefslogtreecommitdiff
path: root/migration/qemu-file.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-10-31 11:45:31 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-11-02 18:40:50 +0400
commit4023839757b2c01e0350ce92902c6f74dce7d011 (patch)
tree1d4b9895f75d1d4aad5b28e57d9d8b9f0d38e252 /migration/qemu-file.c
parent28035bed1c565eace7db18971a7e960a8d1f7c44 (diff)
dump: Drop redundant check for empty dump
dump_init() first computes the size of the dump, taking the filter area into account, and fails if its zero. It then looks for memory in the filter area, and fails if there is none. This is redundant: if the size of the dump is zero, there is no memory, and vice versa. Delete this check. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20231031104531.3169721-6-armbru@redhat.com>
Diffstat (limited to 'migration/qemu-file.c')
0 files changed, 0 insertions, 0 deletions