Skip to content

Commit cdf7455

Browse files
fix
1 parent 6605c20 commit cdf7455

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libc/src/__support/time/windows/clock_gettime.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ ErrorOr<int> clock_gettime(clockid_t clockid, timespec *ts) {
130130
unsigned long long total_time_hns =
131131
kernel_time_hns.QuadPart + user_time_hns.QuadPart;
132132

133-
if (LIBC_UNLIKELY(tv_sec > SEC_LIMIT)) {
134-
ret = cpp::unexpected(EOVERFLOW);
135-
break;
136-
}
137-
138133
unsigned long long tv_sec = total_time_hns / HNS_PER_SEC;
139134
unsigned long long tv_nsec = (total_time_hns % HNS_PER_SEC) * 100ULL;
140135

0 commit comments

Comments
 (0)