diff options
| author | Markus Armbruster | 2014-05-02 13:26:41 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2014-05-09 15:11:32 +0200 |
| commit | 66ef8bd9c16b547c985cbe7468dcf60280c993eb (patch) | |
| tree | eaa1bd4d05389f4f74dcec05143904fb1ed81aa8 /include/exec/memory.h | |
| parent | qemu-option: Clean up fragile use of error_is_set() (diff) | |
| download | qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.tar.gz qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.tar.xz qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.zip | |
dump: Drop pointless error_is_set(), DumpState member errp
In qmp_dump_guest_memory(), the error must be clear on entry, and we
always bail out after setting it, directly or via dump_init().
Therefore, both error_is_set() are always false. Drop them.
DumpState member errp is now write-only. Drop it, too.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
