Skip to content
Commit 843574a3 authored by Markus Elfring's avatar Markus Elfring Committed by Paolo Bonzini
Browse files

KVM: Return an error code only as a constant in kvm_get_dirty_log()



* 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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 58d6db34
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment