diff options
author | Chris Packham <judge.packham@gmail.com> | 2018-03-21 15:40:33 +1300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-06 20:45:44 -0400 |
commit | c1a2afa4082b4dd84ceb1754f1452c9529d6f390 (patch) | |
tree | 41687e1ebece3765b676d366c7028b1bf5083df8 /net/link_local.c | |
parent | 476c2fcd2889442a47176718e170c67a93e2126a (diff) | |
download | u-boot-c1a2afa4082b4dd84ceb1754f1452c9529d6f390.tar.gz |
rtc: ds1307: remove redundant code in rtc_reset
As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
command "date reset" will set the date/time to 2000-01-01 0:00:00 after
calling rtc_reset(). This means that the ds1307 implementation of
rtc_reset() doesn't need to call rtc_set().
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/link_local.c')
0 files changed, 0 insertions, 0 deletions