diff options
| author | Christian Hopps <chopps@labn.net> | 2022-02-24 01:43:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-24 01:43:48 -0500 |
| commit | 7bf63db79b7848b73e1cef49f3496038644bea16 (patch) | |
| tree | 2c95921d910689673348e60f9614de7d9d00c4e7 /ospfd/ospf_gr.c | |
| parent | ca6c97340b013e140c0cb31737858f7c672b7dfb (diff) | |
| parent | cc9f21da2218d95567eff1501482ce58e6600f54 (diff) | |
Merge pull request #10632 from donaldsharp/thread_return_null
*: Change thread->func to return void instead of int
Diffstat (limited to 'ospfd/ospf_gr.c')
| -rw-r--r-- | ospfd/ospf_gr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_gr.c b/ospfd/ospf_gr.c index 6bfe48145f..ee1ca256e3 100644 --- a/ospfd/ospf_gr.c +++ b/ospfd/ospf_gr.c @@ -510,14 +510,12 @@ void ospf_gr_check_adjs(struct ospf *ospf) } /* Handling of grace period expiry. */ -static int ospf_gr_grace_period_expired(struct thread *thread) +static void ospf_gr_grace_period_expired(struct thread *thread) { struct ospf *ospf = THREAD_ARG(thread); ospf->gr_info.t_grace_period = NULL; ospf_gr_restart_exit(ospf, "grace period has expired"); - - return 0; } /* |
