diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-10-13 18:14:27 +0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-12 15:21:17 +0400 |
commit | 213122a0830e1ba3a05013b5cb5d17c49af13282 (patch) | |
tree | a8310ed2b92793571fd58efb83508a10d75817b4 /uloop.c | |
parent | bae6bd19f32e6b8b5578a71bdcd53f735d35f0d0 (diff) |
uloop: Remove uloop_cancelled variable, it is not used anywhere
Signed-off-by: Michel Stam <m.stam@fugro.nl>
Diffstat (limited to 'uloop.c')
-rw-r--r-- | uloop.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -58,7 +58,6 @@ static struct list_head processes = LIST_HEAD_INIT(processes); static int poll_fd = -1; bool uloop_cancelled = false; -bool uloop_handle_sigchld = true; static bool do_sigchld = false; static struct uloop_fd_event cur_fds[ULOOP_MAX_EVENTS]; @@ -575,9 +574,6 @@ static void uloop_setup_signals(bool add) sigaction(SIGINT, &s, &old_sigint); - if (!uloop_handle_sigchld) - return; - if (add) s.sa_handler = uloop_sigchld; else |