summaryrefslogtreecommitdiff
path: root/pimd/pim_assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_assert.c')
-rw-r--r--pimd/pim_assert.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_assert.c b/pimd/pim_assert.c
index 7d05403c36..e7fff4db6f 100644
--- a/pimd/pim_assert.c
+++ b/pimd/pim_assert.c
@@ -473,7 +473,7 @@ static int pim_assert_cancel(struct pim_ifchannel *ch)
return pim_assert_do(ch, metric);
}
-static int on_assert_timer(struct thread *t)
+static void on_assert_timer(struct thread *t)
{
struct pim_ifchannel *ch;
struct interface *ifp;
@@ -504,8 +504,6 @@ static int on_assert_timer(struct thread *t)
ifp->name);
}
}
-
- return 0;
}
static void assert_timer_off(struct pim_ifchannel *ch)