KVM: VMX: Add missing braces to avoid redundant error check
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 8 Apr 2013 09:07:46 +0000 (11:07 +0200)
committerGleb Natapov <gleb@redhat.com>
Mon, 8 Apr 2013 09:46:06 +0000 (12:46 +0300)
commita63cb56061239372fce2452dbedd35c95bd665aa
tree17740814ec573f67cf7191ef7fb1b7ccd0a2b0a4
parent458f212e36b291067b74c0cac2bdcf8278817ee7
KVM: VMX: Add missing braces to avoid redundant error check

The code was already properly aligned, now also add the braces to avoid
that err is checked even if alloc_apic_access_page didn't run and change
it. Found via Coccinelle by Fengguang Wu.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c