netifd: Do not return values in void function
[project/netifd.git] / main.c
diff --git a/main.c b/main.c
index 874dc8bd2215edf38016539801343e4f4e07f2de..e5260b5eafa9324861da347472572eee0ddab714 100644 (file)
--- a/main.c
+++ b/main.c
@@ -129,7 +129,8 @@ netifd_process_cb(struct uloop_process *proc, int ret)
        np = container_of(proc, struct netifd_process, uloop);
 
        netifd_delete_process(np);
-       return np->cb(np, ret);
+       np->cb(np, ret);
+       return;
 }
 
 int