]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_ssmpingd.c
*: Change thread->func to return void instead of int
[mirror_frr.git] / pimd / pim_ssmpingd.c
index abd95e648e22ca156971a29a73c2f8925c796654..596b06cb38e36dfea6bd338ca6f1779af18e1683 100644 (file)
@@ -315,19 +315,16 @@ static int ssmpingd_read_msg(struct ssmpingd_sock *ss)
        return 0;
 }
 
-static int ssmpingd_sock_read(struct thread *t)
+static void ssmpingd_sock_read(struct thread *t)
 {
        struct ssmpingd_sock *ss;
-       int result;
 
        ss = THREAD_ARG(t);
 
-       result = ssmpingd_read_msg(ss);
+       ssmpingd_read_msg(ss);
 
        /* Keep reading */
        ssmpingd_read_on(ss);
-
-       return result;
 }
 
 static void ssmpingd_read_on(struct ssmpingd_sock *ss)