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 /pimd/pim_vxlan.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 'pimd/pim_vxlan.c')
| -rw-r--r-- | pimd/pim_vxlan.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c index 39a1a32a5b..5e55b9f9c8 100644 --- a/pimd/pim_vxlan.c +++ b/pimd/pim_vxlan.c @@ -184,11 +184,10 @@ void pim_vxlan_update_sg_reg_state(struct pim_instance *pim,  		pim_vxlan_del_work(vxlan_sg);  } -static int pim_vxlan_work_timer_cb(struct thread *t) +static void pim_vxlan_work_timer_cb(struct thread *t)  {  	pim_vxlan_do_reg_work();  	pim_vxlan_work_timer_setup(true /* start */); -	return 0;  }  /* global 1second timer used for periodic processing */  | 
