Repository : ssh://git@open-mesh.org/alfred
On branch : master
commit 6c4c8831eea173db04433d57e835632df4e7dc26 Author: Sven Eckelmann sven@narfation.org Date: Sat Mar 14 12:42:47 2015 +0100
alfred: checkpatch - else is not generally useful after a break or return
Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Simon Wunderlich sw@simonwunderlich.de
6c4c8831eea173db04433d57e835632df4e7dc26 batadv_query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/batadv_query.c b/batadv_query.c index 2a607b9..c289b80 100644 --- a/batadv_query.c +++ b/batadv_query.c @@ -269,10 +269,10 @@ uint8_t get_tq(const char *mesh_iface, struct ether_addr *mac) } else if (strlen(token) == 1) { pos = orig_tqvalue; break; - } else { - /* fall through */ - token++; } + + token++; + /* fall through */ case orig_tqvalue: if (token[strlen(token) - 1] != ')') { line_invalid = 1;