KVM: set_memory_region: Don't jump to out_free unnecessarily
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 11 Jan 2013 09:26:10 +0000 (18:26 +0900)
committerGleb Natapov <gleb@redhat.com>
Thu, 17 Jan 2013 12:27:43 +0000 (14:27 +0200)
commit0ea75e1d26dd4ccbbfe4d1a5931903b15b82ba2a
tree83aed7450eb5f2eea111a5da578e37285f6e065b
parenta046b816a4587c7898772af7cc7e6798cc8b56dd
KVM: set_memory_region: Don't jump to out_free unnecessarily

This makes the separation between the sanity checks and the rest of the
code a bit clearer.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/kvm_main.c