From 42ae21d4123262d17477b800ed9a3094405986d8 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Tue, 14 Dec 2021 14:19:53 +0100 Subject: [PATCH] d/hdk: Remove unused variable --- src/xrt/drivers/hdk/hdk_device.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/xrt/drivers/hdk/hdk_device.cpp b/src/xrt/drivers/hdk/hdk_device.cpp index 5c539c088..3a44cc87d 100644 --- a/src/xrt/drivers/hdk/hdk_device.cpp +++ b/src/xrt/drivers/hdk/hdk_device.cpp @@ -229,11 +229,6 @@ hdk_device_get_tracked_pose(struct xrt_device *xdev, return; } - uint64_t now = os_monotonic_get_ns(); - - // Adjusting for latency - 14ms, found empirically. - now -= 14000000; - os_mutex_lock(&hd->lock); if (!hd->quat_valid) { out_relation->relation_flags = XRT_SPACE_RELATION_BITMASK_NONE;