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 /ospfd/ospf_sr.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 'ospfd/ospf_sr.c')
| -rw-r--r-- | ospfd/ospf_sr.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c index 181cc37f4f..e4059d05c2 100644 --- a/ospfd/ospf_sr.c +++ b/ospfd/ospf_sr.c @@ -470,7 +470,7 @@ int ospf_sr_local_block_release_label(mpls_label_t label)   *   * @return		1 on success   */ -static int sr_start_label_manager(struct thread *start) +static void sr_start_label_manager(struct thread *start)  {  	struct ospf *ospf; @@ -478,8 +478,6 @@ static int sr_start_label_manager(struct thread *start)  	/* re-attempt to start SR & Label Manager connection */  	ospf_sr_start(ospf); - -	return 1;  }  /* Segment Routing starter function */  | 
