KVM: SVM: remove redundant ret variable
authorzhang songyi <zhang.songyi@zte.com.cn>
Mon, 28 Nov 2022 12:03:38 +0000 (20:03 +0800)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:06:47 +0000 (10:06 -0800)
commit5f6015b26ba2e0352c17b9034f1f62c653170713
tree94884df85f428772d1b419ab976049a6fc917f3d
parent7cb79f433e75b05d1635aefaa851cfcd1cb7dc4f
KVM: SVM: remove redundant ret variable

Return value from svm_nmi_blocked() 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/202211282003389362484@zte.com.cn
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c