]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Open code shared_msr_update() in its only caller
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 22 Nov 2019 20:04:50 +0000 (12:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 23 Nov 2019 10:29:38 +0000 (11:29 +0100)
commit05c19c2fe17c331ec384a2953be50101e8a15a73
tree0424ee44af66cd796f6a716a3e701a717ecc62c5
parentfaf0be22167486feb1ee386f0e819a336e829d0a
KVM: x86: Open code shared_msr_update() in its only caller

Fold shared_msr_update() into its sole user to eliminate its pointless
bounds check, its godawful printk, its misleading comment (it's called
under a global lock), and its woefully inaccurate name.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c