summaryrefslogtreecommitdiff
path: root/Python/pytime.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pytime.c')
-rw-r--r--Python/pytime.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pytime.c b/Python/pytime.c
index 9ff300699f..54ddfc952b 100644
--- a/Python/pytime.c
+++ b/Python/pytime.c
@@ -718,11 +718,7 @@ pygettimeofday(_PyTime_t *tp, _Py_clock_info_t *info, int raise)
#else /* HAVE_CLOCK_GETTIME */
/* test gettimeofday() */
-#ifdef GETTIMEOFDAY_NO_TZ
- err = gettimeofday(&tv);
-#else
err = gettimeofday(&tv, (struct timezone *)NULL);
-#endif
if (err) {
if (raise) {
PyErr_SetFromErrno(PyExc_OSError);