summaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6t_HL.c
diff options
context:
space:
mode:
authorJan Engelhardt2007-07-08 07:19:08 +0200
committerDavid S. Miller2007-07-11 07:17:11 +0200
commit7c4e36bc172ae1accde835b880fdc4a2c2a3df57 (patch)
treee89d34ec33180a75fd15cc07e7d81ec9a7d4f5a4 /net/ipv6/netfilter/ip6t_HL.c
parent[NETFILTER]: Remove incorrect inline markers (diff)
downloadkernel-qcow2-linux-7c4e36bc172ae1accde835b880fdc4a2c2a3df57.tar.gz
kernel-qcow2-linux-7c4e36bc172ae1accde835b880fdc4a2c2a3df57.tar.xz
kernel-qcow2-linux-7c4e36bc172ae1accde835b880fdc4a2c2a3df57.zip
[NETFILTER]: Remove redundant parentheses/braces
Removes redundant parentheses and braces (And add one pair in a xt_tcpudp.c macro). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6t_HL.c')
-rw-r--r--net/ipv6/netfilter/ip6t_HL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6t_HL.c b/net/ipv6/netfilter/ip6t_HL.c
index 20047ff5492f..33c4cb8a5c43 100644
--- a/net/ipv6/netfilter/ip6t_HL.c
+++ b/net/ipv6/netfilter/ip6t_HL.c
@@ -71,7 +71,7 @@ static bool ip6t_hl_checkentry(const char *tablename,
info->mode);
return false;
}
- if ((info->mode != IP6T_HL_SET) && (info->hop_limit == 0)) {
+ if (info->mode != IP6T_HL_SET && info->hop_limit == 0) {
printk(KERN_WARNING "ip6t_HL: increment/decrement doesn't "
"make sense with value 0\n");
return false;