summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pv/hypervic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pv/hypervic.c b/sys/dev/pv/hypervic.c
index 9ced4846d85..079a8d27983 100644
--- a/sys/dev/pv/hypervic.c
+++ b/sys/dev/pv/hypervic.c
@@ -485,8 +485,7 @@ hv_timesync(void *arg)
break;
case VMBUS_ICMSG_TYPE_TIMESYNC:
msg = (struct vmbus_icmsg_timesync *)hdr;
- if (msg->ic_tsflags == VMBUS_ICMSG_TS_FLAG_SYNC ||
- msg->ic_tsflags == VMBUS_ICMSG_TS_FLAG_SAMPLE) {
+ if (msg->ic_tsflags == VMBUS_ICMSG_TS_FLAG_SAMPLE) {
microtime(&sc->sc_sensor.tv);
nanotime(&guest);
tns = (msg->ic_hvtime - 116444736000000000LL) * 100;