KVM: x86: remove data variable from kvm_get_msr_common
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Mon, 29 Jun 2015 10:39:23 +0000 (18:39 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Jul 2015 16:55:19 +0000 (18:55 +0200)
commitb0996ae48285364710bce812e70ce67771ea6ef7
tree3434dc43f136fb5d6295c550fd6f7a076b3979be
parent431dae778aea4eed31bd12e5ee82edc571cd4d70
KVM: x86: remove data variable from kvm_get_msr_common

Commit 609e36d372ad ("KVM: x86: pass host_initiated to functions that
read MSRs") modified kvm_get_msr_common function to use msr_info->data
instead of data but missed one occurrence.  Replace it and remove the
unused local variable.

Fixes: 609e36d372ad ("KVM: x86: pass host_initiated to functions that
read MSRs")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c