]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_gr.c
*: Change thread->func to return void instead of int
[mirror_frr.git] / ospfd / ospf_gr.c
index 6bfe48145f28d76e48120add39ab85344fa83fb8..ee1ca256e3ac12b5481e4c91d4c8bf793bd8841f 100644 (file)
@@ -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;
 }
 
 /*