From 8925eb87aaa296d651dc0077cb7f19f74d281e4f Mon Sep 17 00:00:00 2001
From: Dirkjan Bussink <d.bussink@gmail.com>
Date: Fri, 14 Sep 2018 14:31:22 +0200
Subject: [PATCH 3/3] Remove unneeded double (()) around conditional clause

In the past this conditional had multiple conditionals which is why the
additional parentheses were needed. The conditional was simplified but
the duplicate parentheses were not cleaned up.
---
 src/stick_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stick_table.c b/src/stick_table.c
index e8d4f3a6..138bbe9a 100644
--- a/src/stick_table.c
+++ b/src/stick_table.c
@@ -2015,7 +2015,7 @@ smp_fetch_sc_tracked(const struct arg *args, struct sample *smp, const char *kw,
 	smp->data.u.sint = !!stkctr;
 
 	/* release the ref count */
-	if ((stkctr == &tmpstkctr))
+	if (stkctr == &tmpstkctr)
 		stktable_release(stkctr->table, stkctr_entry(stkctr));
 
 	return 1;
-- 
2.19.0

