diff options
-rw-r--r-- | src/lib/rtc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/rtc.c b/src/lib/rtc.c index 258f4ac25c..5e03cfae1e 100644 --- a/src/lib/rtc.c +++ b/src/lib/rtc.c @@ -22,9 +22,6 @@ static const char *const weekdays[] = { /* Zeller's rule */ static int rtc_calc_weekday(struct rtc_time *tm) { - if (tm->year < 1971) - return -1; - /* In Zeller's rule, January and February are treated as if they are months 13 and 14 of the previous year (March is still month 3) */ const int zyear = ((tm->mon < 3) ? tm->year - 1 : tm->year); |