diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-12-02 17:38:52 +0100 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-12-06 19:45:59 +0100 |
commit | 69497c17c6ffc636e463d528c2f4c87e4d894964 (patch) | |
tree | 5d89cf8ddf792054e560651e24e592884485fcff /net/batman-adv/routing.c | |
parent | batman-adv: remove extra negation in gw_out_of_range() (diff) | |
download | linux-69497c17c6ffc636e463d528c2f4c87e4d894964.tar.xz 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/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) /* 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); |