hyperv/vmbus: Nuke unnecessary MSR read

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6528
This commit is contained in:
Sepherosa Ziehau 2016-05-25 05:45:43 +00:00
parent 8239b2f287
commit c1d5ebc5a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300653

View File

@ -215,15 +215,9 @@ vmbus_synic_setup(void *xsc)
hv_vmbus_synic_siefp siefp;
hv_vmbus_synic_scontrol sctrl;
hv_vmbus_synic_sint shared_sint;
uint64_t version;
cpu = PCPU_GET(cpuid);
/*
* TODO: Check the version
*/
version = rdmsr(HV_X64_MSR_SVERSION);
/*
* Setup the Synic's message page
*/