commit | 58d6db34917278614cbb3a329b66498658560a46 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Jan 22 17:30:16 2017 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Feb 17 12:30:06 2017 +0100 |
tree | aebbd0922155e6d890e30c4bfadd5ccf9fd76f50 | |
parent | f6a3b168e56abe094b5c93dbafc2f0a0bf64e702 [diff] |
KVM: Return an error code only as a constant in kvm_get_dirty_log_protect() * Return an error code without storing it in an intermediate variable. * Delete the local variable "r" and the jump label "out" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>