summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sync-alarm.c1
-rw-r--r--src/sync-ftfw.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c
index 1f164b2..f7a1536 100644
--- a/src/sync-alarm.c
+++ b/src/sync-alarm.c
@@ -35,7 +35,6 @@ static void refresher(struct alarm_list *a, void *data)
debug_ct(u->ct, "persistence update");
- init_alarm(a, u, refresher);
add_alarm(a,
random() % CONFIG(refresh) + 1,
((random() % 5 + 1) * 200000) - 1);
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index dc3bf44..1d12002 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -89,7 +89,6 @@ static void do_alive_alarm(struct alarm_list *a, void *data)
{
tx_queue_add_ctlmsg(NET_F_ALIVE, 0, 0);
- init_alarm(&alive_alarm, NULL, do_alive_alarm);
add_alarm(&alive_alarm, 1, 0);
}