Skip to contentSkip to conversation

batman-adv: else should follow close brace '}'

PATCH Applied Sven Eckelmann 2 participants 2 messages Feb 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: else should follow close brace '}'

---
 batman-adv/gateway_client.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
batman-adv/gateway_client.c +1 -2
index 3486854..41eba8a 100644
@@ -123,8 +123,7 @@ void gw_election(struct bat_priv *bat_priv)
 				"Removing selected gateway - "
 				"no gateway in range\n");
 			gw_deselect(bat_priv);
-		}
-		else
+		} else
 			rcu_read_unlock();
 
 		return;
Signature · 1 line
1.7.2.3
#1 lore raw

batman-adv/gateway_client.c void gw_election(struct bat_priv *bat_priv) · line 127

Quoted 5 lines · On Monday 14 February 2011 10:10:23 Sven Eckelmann wrote:
                        gw_deselect(bat_priv);
batman-adv/gateway_client.c +1 -2
-               }
-               else
+               } else
                        rcu_read_unlock();

Applied in revision 1944.

Thanks,
Marek