summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorPeng Hao2018-12-14 09:18:03 +0100
committerPaolo Bonzini2018-12-14 17:59:50 +0100
commitb2227ddec1cca6c52f49a19ec1c7a40cd27e0566 (patch)
treefb50ce0a89824cbcdf578165846b53a6ba065483 /arch/x86/kvm/svm.c
parentkvm: vmx: Skip all SYSCALL MSRs in setup_msrs() when !EFER.SCE (diff)
downloadkernel-qcow2-linux-b2227ddec1cca6c52f49a19ec1c7a40cd27e0566.tar.gz
kernel-qcow2-linux-b2227ddec1cca6c52f49a19ec1c7a40cd27e0566.tar.xz
kernel-qcow2-linux-b2227ddec1cca6c52f49a19ec1c7a40cd27e0566.zip
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>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index d7fec9f4af43..3cbe67a31c54 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -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)