summaryrefslogtreecommitdiff
path: root/pimd/pim_assert.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-22 19:04:25 -0500
committerDonald Sharp <sharpd@nvidia.com>2022-02-23 19:56:04 -0500
commitcc9f21da2218d95567eff1501482ce58e6600f54 (patch)
treed579c9754161d874bad6eb09c67821b65fb559ca /pimd/pim_assert.c
parenteaba619fc183f68a456b3918f449185b3b477426 (diff)
*: Change thread->func to return void instead of int
The int return value is never used. Modify the code base to just return a void instead. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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)