mirror of https://gitee.com/openkylin/linux.git
kvm: svm: remove unused struct definition
structure svm_init_data is never used. So remove it. Signed-off-by: Peng Hao <peng.hao2@zte.com.cn> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
84c8c5b8f8
commit
b2227ddec1
|
@ -675,11 +675,6 @@ struct svm_cpu_data {
|
|||
|
||||
static DEFINE_PER_CPU(struct svm_cpu_data *, svm_data);
|
||||
|
||||
struct svm_init_data {
|
||||
int cpu;
|
||||
int r;
|
||||
};
|
||||
|
||||
static const u32 msrpm_ranges[] = {0, 0xc0000000, 0xc0010000};
|
||||
|
||||
#define NUM_MSR_MAPS ARRAY_SIZE(msrpm_ranges)
|
||||
|
|
Loading…
Reference in New Issue