summaryrefslogtreecommitdiff
path: root/drivers/rtc/rv3029.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rv3029.c')
-rw-r--r--drivers/rtc/rv3029.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c
index a82acec6f7e..8c80fe9cb79 100644
--- a/drivers/rtc/rv3029.c
+++ b/drivers/rtc/rv3029.c
@@ -73,7 +73,6 @@
RV3029_TRICKLE_80K)
#define RV3029_TRICKLE_SHIFT 4
-
static int rv3029_rtc_get(struct udevice *dev, struct rtc_time *tm)
{
u8 regs[RTC_RV3029_PAGE_LEN];
@@ -127,7 +126,6 @@ static int rv3029_rtc_set(struct udevice *dev, const struct rtc_time *tm)
__func__, tm->tm_year, tm->tm_mon, tm->tm_mday,
tm->tm_wday, tm->tm_hour, tm->tm_min, tm->tm_sec);
-
if (tm->tm_year < 2000) {
printf("%s: year %d (before 2000) not supported\n",
__func__, tm->tm_year);