diff options
author | Juliusz Chroboczek <jch@pps.jussieu.fr> | 2012-02-11 17:48:05 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-25 17:06:54 +0100 |
commit | ce590ecd85b3cf32c5429f09e12d92248cc01ef2 (patch) | |
tree | b9815ffc6af493f467d0ec820b4f27a6bf78acdd /babeld | |
parent | 8a46e12f5f0b02d58b1d7bc6c0d140aeec6c80c2 (diff) |
Remove dead variable reboot_time.
Thanks to Denis Ovsienko.
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/babel_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index e5764942..4cb2d83e 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -379,8 +379,6 @@ babel_replace_by_null(int fd) void babel_load_state_file(void) { - time_t reboot_time; - reboot_time = babel_now.tv_sec; int fd; int rc; @@ -422,9 +420,6 @@ babel_load_state_file(void) 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."); |