lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] KVM: x86/mmu: Remove unused variable invalid_list
Date
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
\
 
 \ /
  Last update: 2021-02-02 01:35    [W:0.066 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site