commit | e665e3aae1e8c2e47e467c13c10e5b92c4be61a5 | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Thu Sep 04 21:13:33 2014 +0200 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Thu Oct 02 17:19:16 2014 +0200 |
tree | 579887a55221b920fdd39bf11da4f5345fdded0c | |
parent | c4e4c7bf26b78b6cb8fa985c19854c8f6e9abc20 [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> (cherry picked from commit f2a25160887e00434ce1361007009120e1fecbda) Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>