commit | 7a6ce84c74a3064f6b6dda9e2d55c509cd4e78e4 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Tue Mar 31 16:47:44 2009 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 11:48:35 2009 +0300 |
tree | 29f06575c80f84dbd7be617ddbcfb41df11c8f4b | |
parent | 9645bb56b31a1b70ab9e470387b5264cafc04aa9 [diff] |
KVM: remove pointless conditional before kfree() in lapic initialization Remove pointless conditional before kfree(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 007fadd..7fe83fe 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c
@@ -1592,8 +1592,7 @@ r = -EINVAL; } out: - if (lapic) - kfree(lapic); + kfree(lapic); return r; }