Cygwin: spinlock: remove useless get_ll call

LARGE_INTEGER has QuadPart anyway, no reason to compute the
64 bit value from HighPart and LowPart.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-11-26 17:25:47 +01:00
parent 2d6b71ee6d
commit a094c5bafa

View File

@ -30,7 +30,7 @@ class spinlock
{
LARGE_INTEGER t;
if (NtQuerySystemTime (&t) == STATUS_SUCCESS)
return get_ll (t);
return t.QuadPart;
return 0LL;
}
public: