]> asedeno.scripts.mit.edu Git - linux.git/commit
batman-adv: Remove unnecessary parentheses
authorSven Eckelmann <sven@narfation.org>
Wed, 23 Aug 2017 19:52:13 +0000 (21:52 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 28 Sep 2017 15:20:45 +0000 (17:20 +0200)
commit825ffe1f7b875127bc03faffec0ecfb05906650a
tree510e457c3bb0482751f2cbb3d3bb91f94117ea93
parent7e7c1afb67074596f6ff96e5276d6084d1648ec1
batman-adv: Remove unnecessary parentheses

checkpatch introduced with commit 63b7c73ec86b ("checkpatch: add --strict
check for ifs with unnecessary parentheses") an additional test which
identifies some unnecessary parentheses.

Remove these unnecessary parentheses to avoid the warnings and to unify the
coding style slightly more.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
17 files changed:
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bat_v.c
net/batman-adv/bat_v_elp.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/gateway_client.c
net/batman-adv/gateway_common.c
net/batman-adv/hard-interface.c
net/batman-adv/icmp_socket.c
net/batman-adv/main.c
net/batman-adv/multicast.c
net/batman-adv/originator.c
net/batman-adv/routing.c
net/batman-adv/send.c
net/batman-adv/soft-interface.c
net/batman-adv/sysfs.c
net/batman-adv/tp_meter.c