Now that all callers of kvm_free_memslot() pass NULL for @dont, remove the param from the top-level routine and all arch's implementations. No functional change intended.
Showing the changes to include/linux (1 of 14 files). Show all
Unified · Split
| @@ -669,8 +669,7 @@ int kvm_set_memory_region(struct kvm *kvm, · 668 unmodified lines | ||
| 669 | 669 | const struct kvm_userspace_memory_region *mem); |
| 670 | 670 | int __kvm_set_memory_region(struct kvm *kvm, |
| 671 | 671 | const struct kvm_userspace_memory_region *mem); |
| 672 | −void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, | |
| 673 | − struct kvm_memory_slot *dont); | |
| 672 | +void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *slot); | |
| 674 | 673 | void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen); |
| 675 | 674 | int kvm_arch_prepare_memory_region(struct kvm *kvm, |
| 676 | 675 | struct kvm_memory_slot *memslot, |