Skip to content

Commit

Permalink
kvm: svm: remove unused struct definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peng Hao authored and Paolo Bonzini committed Dec 14, 2018
1 parent 84c8c5b commit b2227dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b2227dd

Please sign in to comment.