diff options
| author | Markus Armbruster | 2014-05-02 13:26:39 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2014-05-09 15:11:31 +0200 |
| commit | 5e54769c921a3d8cd8858444f5a3fa62cc44260e (patch) | |
| tree | 7ff8ec7e3f77a0a58dbbdcac1989b5f7505938eb /include/exec/memory.h | |
| parent | qga: Clean up fragile use of error_is_set() (diff) | |
| download | qemu-5e54769c921a3d8cd8858444f5a3fa62cc44260e.tar.gz qemu-5e54769c921a3d8cd8858444f5a3fa62cc44260e.tar.xz qemu-5e54769c921a3d8cd8858444f5a3fa62cc44260e.zip | |
qga: Drop superfluous error_is_set()
acquire_privilege(), execute_async() and check_suspend_mode() do
nothing when called with an error set. Callers shouldn't do that, and
no caller does. Drop the superfluous tests.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
