commit | f2a25160887e00434ce1361007009120e1fecbda | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Thu Sep 04 21:13:33 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Sep 05 12:01:15 2014 +0200 |
tree | 1eaa0d6d07eceda78a312be14c9459629560890b | |
parent | a13f533b2f1d53a7c0baa7490498caeab7bc8ba5 [diff] |
KVM: remove redundant assignments in __kvm_set_memory_region __kvm_set_memory_region sets r to EINVAL very early. Doing it again is not necessary. The same is true later on, where r is assigned -ENOMEM twice. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>