diff options
author | tanxiaojun <tanxiaojun@huawei.com> | 2013-12-19 13:28:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-19 19:27:26 -0500 |
commit | a97bfc1d1f2b4496d01fda34fc546451f1c02bf5 (patch) | |
tree | b631d1e0ca714bd7e39dbf005b85e183c73d024d /net/bridge/netfilter | |
parent | 87e823b3d5c99a17b4a5cfd6a70cd002992e30dd (diff) | |
download | linux-a97bfc1d1f2b4496d01fda34fc546451f1c02bf5.tar.bz2 |
bridge: remove unnecessary parentheses
Return is not a function, parentheses are not required.
Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter')
-rw-r--r-- | net/bridge/netfilter/ebtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index ac7802428384..09d16d76e4c8 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c @@ -118,7 +118,7 @@ ebt_dev_check(const char *entry, const struct net_device *device) /* 1 is the wildcard token */ while (entry[i] != '\0' && entry[i] != 1 && entry[i] == devname[i]) i++; - return (devname[i] != entry[i] && entry[i] != 1); + return devname[i] != entry[i] && entry[i] != 1; } #define FWINV2(bool,invflg) ((bool) ^ !!(e->invflags & invflg)) |