aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/time
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/time')
-rw-r--r--newlib/libc/time/gmtime_r.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 1111cbc..8944845 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -47,11 +47,6 @@ _DEFUN (gmtime_r, (tim_p, res),
rem += SECSPERDAY;
--days;
}
- while (rem >= SECSPERDAY)
- {
- rem -= SECSPERDAY;
- ++days;
- }
/* compute hour, min, and sec */
res->tm_hour = (int) (rem / SECSPERHOUR);