Remove dead variable reboot_time.
Thanks to Denis Ovsienko.
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index e576494..4cb2d83 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -379,8 +379,6 @@
void
babel_load_state_file(void)
{
- time_t reboot_time;
- reboot_time = babel_now.tv_sec;
int fd;
int rc;
@@ -422,9 +420,6 @@
zlog_err("ID mismatch in babel-state. id=%s; old=%s",
format_eui64(myid),
format_eui64(sid));
- /* Convert realtime into monotonic time. */
- if(t >= 1176800000L && t <= realnow.tv_sec)
- reboot_time = babel_now.tv_sec - (realnow.tv_sec - t);
}
} else {
zlog_err("Couldn't parse babel-state.");