Skip to content

Commit f84cbb0

Browse files
Xiao Guangrongavikivity
authored andcommitted
KVM: MMU: remove unused field
kvm_mmu_page.oos_link is not used, so remove it Signed-off-by: Xiao Guangrong <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
1 parent 805d32d commit f84cbb0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

arch/x86/include/asm/kvm_host.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ struct kvm_mmu_page {
187187
struct list_head link;
188188
struct hlist_node hash_link;
189189

190-
struct list_head oos_link;
191-
192190
/*
193191
* The following two entries are used to key the shadow page in the
194192
* hash table.

arch/x86/kvm/mmu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,6 @@ static struct kvm_mmu_page *kvm_mmu_alloc_page(struct kvm_vcpu *vcpu,
923923
sp->gfns = mmu_memory_cache_alloc(&vcpu->arch.mmu_page_cache, PAGE_SIZE);
924924
set_page_private(virt_to_page(sp->spt), (unsigned long)sp);
925925
list_add(&sp->link, &vcpu->kvm->arch.active_mmu_pages);
926-
INIT_LIST_HEAD(&sp->oos_link);
927926
bitmap_zero(sp->slot_bitmap, KVM_MEMORY_SLOTS + KVM_PRIVATE_MEM_SLOTS);
928927
sp->multimapped = 0;
929928
sp->parent_pte = parent_pte;

0 commit comments

Comments
 (0)