summaryrefslogtreecommitdiff
path: root/firmware/libc
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libc')
-rw-r--r--firmware/libc/mktime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/libc/mktime.c b/firmware/libc/mktime.c
index eaa017122a..822f12e6e8 100644
--- a/firmware/libc/mktime.c
+++ b/firmware/libc/mktime.c
@@ -40,7 +40,6 @@ time_t mktime(struct tm *t)
year -= 1;
month += 12;
}
- result = (year - 1970) * 365 + (year - 1969) / 4 + m_to_d[month];
result = (year - 1970) * 365 + m_to_d[month];
if (month <= 1)
year -= 1;