diff --git a/dll/win32/winmm/time.c b/dll/win32/winmm/time.c
index 5da3f2f075..ab0437ccc4 100644
--- a/dll/win32/winmm/time.c
+++ b/dll/win32/winmm/time.c
@@ -453,15 +453,5 @@ MMRESULT WINAPI timeEndPeriod(UINT wPeriod)
  */
 DWORD WINAPI timeGetTime(void)
 {
-#if defined(COMMENTOUTPRIORTODELETING)
-    DWORD       count;
-
-    /* FIXME: releasing the win16 lock here is a temporary hack (I hope)
-     * that lets mciavi.drv run correctly
-     */
-    if (pFnReleaseThunkLock) pFnReleaseThunkLock(&count);
-    if (pFnRestoreThunkLock) pFnRestoreThunkLock(count);
-#endif
-
-    return GetTickCount();
+        return GetCurrentTime();
 }
