From cc9f21da2218d95567eff1501482ce58e6600f54 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 22 Feb 2022 19:04:25 -0500 Subject: *: 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 --- isisd/isis_lfa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'isisd/isis_lfa.c') diff --git a/isisd/isis_lfa.c b/isisd/isis_lfa.c index 84aac24d5..d515873ec 100644 --- a/isisd/isis_lfa.c +++ b/isisd/isis_lfa.c @@ -1401,7 +1401,7 @@ static struct rlfa *rlfa_lookup(struct isis_spftree *spftree, return rlfa_tree_find(&spftree->lfa.remote.rlfas, &s); } -static int isis_area_verify_routes_cb(struct thread *thread) +static void isis_area_verify_routes_cb(struct thread *thread) { struct isis_area *area = THREAD_ARG(thread); @@ -1409,8 +1409,6 @@ static int isis_area_verify_routes_cb(struct thread *thread) zlog_debug("ISIS-LFA: updating RLFAs in the RIB"); isis_area_verify_routes(area); - - return 0; } static mpls_label_t rlfa_nexthop_label(struct isis_spftree *spftree, -- cgit v1.2.3