KVM: x86: remove redundant ret variable
authorzhang songyi <zhang.songyi@zte.com.cn>
Wed, 23 Nov 2022 09:04:45 +0000 (17:04 +0800)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:04:33 +0000 (10:04 -0800)
commit85e64d09f7934166b77dfbe42eec600c93703cb3
treefe1ff71a303e167c4a5d6aacc991909a5fde260e
parent7cb79f433e75b05d1635aefaa851cfcd1cb7dc4f
KVM: x86: remove redundant ret variable

Return value from apic_get_tmcct() directly instead of taking
this in another redundant variable.

Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Link: https://lore.kernel.org/r/202211231704457807160@zte.com.cn
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/lapic.c