KVM: SVM: Remove unused svm_features

We use boot_cpu_has now.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Jan Kiszka 2011-03-24 09:45:10 +01:00 committed by Avi Kivity
parent 8878647585
commit 89a9fb78b5
1 changed files with 0 additions and 3 deletions

View File

@ -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;