Re: [Qemu-devel] [PATCH v2 12/15] qga: Drop superfluous error_is_set()

2014-04-29 Thread Michael Roth
Quoting Markus Armbruster (2014-04-28 15:27:51) > 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 > Reviewed-by: Eric Blake

[Qemu-devel] [PATCH v2 12/15] qga: Drop superfluous error_is_set()

2014-04-28 Thread Markus Armbruster
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 Reviewed-by: Eric Blake --- qga/commands-win32.c | 10 -- 1 file changed,