summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-12-02 17:38:52 +0100
committerMarek Lindner <lindner_marek@yahoo.de>2011-12-07 02:45:59 +0800
commit69497c17c6ffc636e463d528c2f4c87e4d894964 (patch)
tree5d89cf8ddf792054e560651e24e592884485fcff /net/batman-adv
parent2ef04f4752a9687a03b16d4d908cf07ff8b96a3b (diff)
downloadlinux-69497c17c6ffc636e463d528c2f4c87e4d894964.tar.gz
linux-69497c17c6ffc636e463d528c2f4c87e4d894964.tar.bz2
linux-69497c17c6ffc636e463d528c2f4c87e4d894964.zip
batman-adv: format multi-line if in the correct way
in an multi-line if statement leading edges should line up to the opening parenthesis Reported-by: David Miller <davem@davemloft.net> Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/routing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index ef24a7205f65..773e606f9702 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -627,8 +627,7 @@ int recv_tt_query(struct sk_buff *skb, struct hard_iface *recv_if)
/* Ensure we have all the claimed data */
if (unlikely(skb_headlen(skb) <
- sizeof(struct tt_query_packet) +
- tt_len))
+ sizeof(struct tt_query_packet) + tt_len))
goto out;
handle_tt_response(bat_priv, tt_query);