From: Jan Kiszka Date: Thu, 24 Mar 2011 08:45:10 +0000 (+0100) Subject: KVM: SVM: Remove unused svm_features X-Git-Tag: MMI-PSA29.97-13-9~19664^2~121 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89a9fb78b5bd8bece353449079726556ecab41df;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git KVM: SVM: Remove unused svm_features We use boot_cpu_has now. Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 2a193222c987..cb43e98eff63 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -376,7 +376,6 @@ struct svm_cpu_data { }; static DEFINE_PER_CPU(struct svm_cpu_data *, svm_data); -static uint32_t svm_features; struct svm_init_data { int cpu; @@ -802,8 +801,6 @@ static __init int svm_hardware_setup(void) goto err; } - svm_features = cpuid_edx(SVM_CPUID_FUNC); - if (!boot_cpu_has(X86_FEATURE_NPT)) npt_enabled = false;