From b2a844760ec534e75bcc2dc513275cf0fed11468 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 30 Mar 2017 00:57:43 +0530 Subject: iptables: Remove unnecessary braces. Remove braces which are not required, to fix the check patch issue. The following coccinelle script was used to fix this issue. @@ expression e; expression e1; @@ if(e) -{ e1; -} Signed-off-by: Varsha Rao Signed-off-by: Pablo Neira Ayuso --- iptables/iptables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iptables/iptables.c') diff --git a/iptables/iptables.c b/iptables/iptables.c index 62731c5e..97cbda91 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -1114,9 +1114,8 @@ void print_rule4(const struct ipt_entry *e, e->ip.invflags & IPT_INV_FRAG ? " !" : ""); /* Print matchinfo part */ - if (e->target_offset) { + if (e->target_offset) IPT_MATCH_ITERATE(e, print_match_save, &e->ip); - } /* print counters for iptables -R */ if (counters < 0) -- cgit v1.2.3