From a98dae5fe5dc81dcf7e5146d3d6915dd6b3d055a Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 22 Oct 2012 16:34:18 -0400 Subject: [PATCH] Fix: Remove useless NULL and zero assignment Signed-off-by: David Goulet --- src/common/consumer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/consumer.c b/src/common/consumer.c index 8d897e5df..132e3ec68 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -56,7 +56,7 @@ int consumer_poll_timeout = -1; * Also updated by the signal handler (consumer_should_exit()). Read by the * polling threads. */ -volatile int consumer_quit = 0; +volatile int consumer_quit; /* * The following two hash tables are visible by all threads which are separated @@ -66,8 +66,8 @@ volatile int consumer_quit = 0; * stream element in this ht should only be updated by the metadata poll thread * for the metadata and the data poll thread for the data. */ -struct lttng_ht *metadata_ht = NULL; -struct lttng_ht *data_ht = NULL; +struct lttng_ht *metadata_ht; +struct lttng_ht *data_ht; /* * Find a stream. The consumer_data.lock must be locked during this -- 2.34.1