]> git.hungrycats.org Git - linux/commit
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)
committerSasha Levin <alexander.levin@verizon.com>
Mon, 6 Mar 2017 22:43:45 +0000 (17:43 -0500)
commit7cc65d0852fc30491d6b654ab2a95441fdb76784
treea2abe34165870cb45f343675834a49c39a3dff03
parent5f3c6a6c50093815eb56c97ba5cbadef36fbd889
KVM: x86: remove data variable from kvm_get_msr_common

[ Upstream commit b0996ae48285364710bce812e70ce67771ea6ef7 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
arch/x86/kvm/x86.c