From 587cba2ddf95db03f44f142f38e6cf17ef9a0f8d Mon Sep 17 00:00:00 2001 From: sephe Date: Wed, 25 May 2016 05:45:43 +0000 Subject: [PATCH] hyperv/vmbus: Nuke unnecessary MSR read MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6528 --- sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c b/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c index 7684becad7f3..1e385c7a0bc0 100644 --- a/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c +++ b/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c @@ -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 */