diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-12-26 14:41:30 +0300 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-05-29 11:13:37 +0300 |
commit | 01b97a3eed3fe40e3a007d56935b421023bca2e3 (patch) | |
tree | 1944b1b826cb854aa283a16591f053bd5fecd11c /net/batman-adv/bat_iv_ogm.c | |
parent | 8f34b388786a952382c829453f280384f1bf3886 (diff) | |
download | linux-01b97a3eed3fe40e3a007d56935b421023bca2e3.tar.xz |
batman-adv: iv_ogm_orig_update, remove unnecessary brackets
Remove these unnecessary brackets inside a condition.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
-rw-r--r-- | net/batman-adv/bat_iv_ogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index ce04cd75fae4..c5ba7a798de7 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c @@ -1081,7 +1081,7 @@ batadv_iv_ogm_orig_update(struct batadv_priv *bat_priv, * won't consider it either */ if (router_ifinfo && - (neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg)) { + neigh_ifinfo->bat_iv.tq_avg == router_ifinfo->bat_iv.tq_avg) { orig_node_tmp = router->orig_node; spin_lock_bh(&orig_node_tmp->bat_iv.ogm_cnt_lock); if_num = router->if_incoming->if_num; |