From: Pierre-Marc Fournier Date: Fri, 25 Sep 2009 19:27:53 +0000 (-0400) Subject: libust: cleanup usage of have_listener X-Git-Tag: v1.9.1~897 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0b2026f29acabd8676db5272f9149769ecb18d69;p=lttng-ust.git libust: cleanup usage of have_listener --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 83109a14..d6726d4f 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -804,12 +804,10 @@ void create_listener(void) void sighandler(int sig) { - static char have_listener = 0; DBG("sighandler"); if(!have_listener) { create_listener(); - have_listener = 1; } }