uloop: Remove uloop_cancelled variable, it is not used anywhere

Signed-off-by: Michel Stam <m.stam@fugro.nl>
This commit is contained in:
Michel Stam 2014-10-13 16:14:27 +02:00 committed by John Crispin
parent bae6bd19f3
commit 213122a083

View file

@ -58,7 +58,6 @@ static struct list_head processes = LIST_HEAD_INIT(processes);
static int poll_fd = -1; static int poll_fd = -1;
bool uloop_cancelled = false; bool uloop_cancelled = false;
bool uloop_handle_sigchld = true;
static bool do_sigchld = false; static bool do_sigchld = false;
static struct uloop_fd_event cur_fds[ULOOP_MAX_EVENTS]; 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); sigaction(SIGINT, &s, &old_sigint);
if (!uloop_handle_sigchld)
return;
if (add) if (add)
s.sa_handler = uloop_sigchld; s.sa_handler = uloop_sigchld;
else else