diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-02-22 19:04:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-23 19:56:04 -0500 |
| commit | cc9f21da2218d95567eff1501482ce58e6600f54 (patch) | |
| tree | d579c9754161d874bad6eb09c67821b65fb559ca /ospf6d/ospf6_top.c | |
| parent | eaba619fc183f68a456b3918f449185b3b477426 (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 'ospf6d/ospf6_top.c')
| -rw-r--r-- | ospf6d/ospf6_top.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index 13f16efa66..e64bf24b66 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -586,7 +586,7 @@ void ospf6_master_init(struct thread_master *master) om6->master = master; } -static int ospf6_maxage_remover(struct thread *thread) +static void ospf6_maxage_remover(struct thread *thread) { struct ospf6 *o = (struct ospf6 *)THREAD_ARG(thread); struct ospf6_area *oa; @@ -603,7 +603,7 @@ static int ospf6_maxage_remover(struct thread *thread) continue; ospf6_maxage_remove(o); - return 0; + return; } } } @@ -627,8 +627,6 @@ static int ospf6_maxage_remover(struct thread *thread) if (reschedule) { ospf6_maxage_remove(o); } - - return 0; } void ospf6_maxage_remove(struct ospf6 *o) |
