We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d6e1c commit 966301aCopy full SHA for 966301a
drivers/rtc/hctosys.c
@@ -45,13 +45,6 @@ static int __init rtc_hctosys(void)
45
46
}
47
48
- err = rtc_valid_tm(&tm);
49
- if (err) {
50
- dev_err(rtc->dev.parent,
51
- "hctosys: invalid date/time\n");
52
- goto err_invalid;
53
- }
54
-
55
tv64.tv_sec = rtc_tm_to_time64(&tm);
56
57
err = do_settimeofday64(&tv64);
@@ -63,7 +56,6 @@ static int __init rtc_hctosys(void)
63
tm.tm_hour, tm.tm_min, tm.tm_sec,
64
(long long) tv64.tv_sec);
65
58
66
-err_invalid:
67
59
err_read:
68
60
rtc_class_close(rtc);
69
61
0 commit comments