Messages in this thread Patch in this message | | | From | Stephen Brennan <> | Subject | [PATCH] KVM: x86/mmu: Remove unused variable invalid_list | Date | Mon, 1 Feb 2021 16:30:37 -0800 |
| |
Since commit ebdb292dac79 ("KVM: x86/mmu: Batch zap MMU pages when shrinking the slab"), invalid_list is no longer used in mmu_shrink_scan(). Remove it.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com> --- arch/x86/kvm/mmu/mmu.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index 6d16481aa29d..4b42c7a08e42 100644 --- a/arch/x86/kvm/mmu/mmu.c +++ b/arch/x86/kvm/mmu/mmu.c @@ -5736,7 +5736,6 @@ mmu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) list_for_each_entry(kvm, &vm_list, vm_list) { int idx; - LIST_HEAD(invalid_list); /* * Never scan more than sc->nr_to_scan VM instances. -- 2.27.0
| |