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;