KVM: x86: Remove unnecessary initialization in kvm_vm_ioctl_set_msr_filter()
authorMichal Luczaj <mhal@rbox.co>
Sat, 7 Jan 2023 00:12:55 +0000 (01:12 +0100)
committerSean Christopherson <seanjc@google.com>
Fri, 3 Feb 2023 23:30:45 +0000 (15:30 -0800)
commit4559e6cf45b555e7f2d73dd6a09a23afcbac9ec1
tree08a07b70500baa029f43bb7b6abddd74cc8f93c4
parent1fdefb8bd862d7c17fc2526ec9fdfb080c15da45
KVM: x86: Remove unnecessary initialization in kvm_vm_ioctl_set_msr_filter()

Do not initialize the value of `r`, as it will be overwritten.

Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230107001256.2365304-6-mhal@rbox.co
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c