summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-04-27 22:18:10 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-04-27 22:18:10 +0200
commit440f08b49b14e475faea3f6d54a01bc837e97a6b (patch)
treee89d659a8362da65646d25f57af5d03bf51f8156
parent6658478210e491eda76a0141963f56eedcab4855 (diff)
downloadrtc-tools-440f08b49b14e475faea3f6d54a01bc837e97a6b.tar.gz
rtc-sync: remove TODO
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--rtc-sync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rtc-sync.c b/rtc-sync.c
index 511f2f9..d4a8305 100644
--- a/rtc-sync.c
+++ b/rtc-sync.c
@@ -90,8 +90,6 @@ int get_offset_alarm(struct timespec *diff, int rtc)
unsigned long data;
int rc;
- //TODO: save/restore surrent alarm
-
rc = ioctl(rtc, RTC_RD_TIME, &stm);
if (rc < 0) {
perror("RTC_RD_TIME");