From ff57f1bbcf8af1e6389520aa845df5aa97ef55b6 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Fri, 14 Sep 2018 14:31:22 +0200 Subject: [PATCH] CLEANUP: stick-tables: 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 d2aea6d97..a65ceb056 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -2016,7 +2016,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;