diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-05-02 13:26:41 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-05-09 09:11:32 -0400 |
commit | 66ef8bd9c16b547c985cbe7468dcf60280c993eb (patch) | |
tree | eaa1bd4d05389f4f74dcec05143904fb1ed81aa8 /qmp.c | |
parent | 2767ceec4ed1d6ac9785d9866c80dc7d674a3631 (diff) | |
download | qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.zip qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.tar.gz qemu-66ef8bd9c16b547c985cbe7468dcf60280c993eb.tar.bz2 |
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 'qmp.c')
0 files changed, 0 insertions, 0 deletions