diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 8b3a9c0e771d..c71acd7f9a13 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1362,11 +1362,9 @@ static void kvm_release_vm_pages(struct kvm *kvm) | |||
1362 | struct kvm_memslots *slots; | 1362 | struct kvm_memslots *slots; |
1363 | struct kvm_memory_slot *memslot; | 1363 | struct kvm_memory_slot *memslot; |
1364 | int j; | 1364 | int j; |
1365 | unsigned long base_gfn; | ||
1366 | 1365 | ||
1367 | slots = kvm_memslots(kvm); | 1366 | slots = kvm_memslots(kvm); |
1368 | kvm_for_each_memslot(memslot, slots) { | 1367 | kvm_for_each_memslot(memslot, slots) { |
1369 | base_gfn = memslot->base_gfn; | ||
1370 | for (j = 0; j < memslot->npages; j++) { | 1368 | for (j = 0; j < memslot->npages; j++) { |
1371 | if (memslot->rmap[j]) | 1369 | if (memslot->rmap[j]) |
1372 | put_page((struct page *)memslot->rmap[j]); | 1370 | put_page((struct page *)memslot->rmap[j]); |