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/xtables-standalone.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iptables/xtables-standalone.c') diff --git a/iptables/xtables-standalone.c b/iptables/xtables-standalone.c index 355a4460..139c477f 100644 --- a/iptables/xtables-standalone.c +++ b/iptables/xtables-standalone.c @@ -85,9 +85,8 @@ xtables_main(int family, const char *progname, int argc, char *argv[]) fprintf(stderr, "iptables: %s.\n", nft_strerror(errno)); } - if (errno == EAGAIN) { + if (errno == EAGAIN) exit(RESOURCE_PROBLEM); - } } exit(!ret); -- cgit v1.2.3