aboutsummaryrefslogtreecommitdiff
path: root/qmp.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-02 13:26:41 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-09 09:11:32 -0400
commit66ef8bd9c16b547c985cbe7468dcf60280c993eb (patch)
treeeaa1bd4d05389f4f74dcec05143904fb1ed81aa8 /qmp.c
parent2767ceec4ed1d6ac9785d9866c80dc7d674a3631 (diff)
downloadqemu-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