KVM: MMU: remove unused field
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Tue, 6 Apr 2010 10:29:05 +0000 (18:29 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:29 +0000 (12:17 +0300)
kvm_mmu_page.oos_link is not used, so remove it

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c

index 26c629a062dbb86971f567c3598e175789c99a53..0c49c888be6b5cdcfab0a3ef6287c19d94636aed 100644 (file)
@@ -187,8 +187,6 @@ struct kvm_mmu_page {
        struct list_head link;
        struct hlist_node hash_link;
 
-       struct list_head oos_link;
-
        /*
         * The following two entries are used to key the shadow page in the
         * hash table.
index 6ed7d633aefece84228ed12dc25e71e7eb047840..ec8900b6692a96dd6ddde3cbfa0e3faa80d930f2 100644 (file)
@@ -923,7 +923,6 @@ static struct kvm_mmu_page *kvm_mmu_alloc_page(struct kvm_vcpu *vcpu,
        sp->gfns = mmu_memory_cache_alloc(&vcpu->arch.mmu_page_cache, PAGE_SIZE);
        set_page_private(virt_to_page(sp->spt), (unsigned long)sp);
        list_add(&sp->link, &vcpu->kvm->arch.active_mmu_pages);
-       INIT_LIST_HEAD(&sp->oos_link);
        bitmap_zero(sp->slot_bitmap, KVM_MEMORY_SLOTS + KVM_PRIVATE_MEM_SLOTS);
        sp->multimapped = 0;
        sp->parent_pte = parent_pte;