diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-12-02 11:38:52 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-12-06 13:45:59 -0500 |
commit | 69497c17c6ffc636e463d528c2f4c87e4d894964 (patch) | |
tree | 5d89cf8ddf792054e560651e24e592884485fcff /net/batman-adv/routing.c | |
parent | 2ef04f4752a9687a03b16d4d908cf07ff8b96a3b (diff) |
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/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 3 |
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) | |||
627 | 627 | ||
628 | /* Ensure we have all the claimed data */ | 628 | /* Ensure we have all the claimed data */ |
629 | if (unlikely(skb_headlen(skb) < | 629 | if (unlikely(skb_headlen(skb) < |
630 | sizeof(struct tt_query_packet) + | 630 | sizeof(struct tt_query_packet) + tt_len)) |
631 | tt_len)) | ||
632 | goto out; | 631 | goto out; |
633 | 632 | ||
634 | handle_tt_response(bat_priv, tt_query); | 633 | handle_tt_response(bat_priv, tt_query); |