diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-02-08 07:43:54 -0500 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-02-11 17:29:00 -0500 |
commit | 14062064167ecdda4a17ec9190740c189223550a (patch) | |
tree | 5841e9449311f6b51b31f1fd37385ac5d73401de | |
parent | c2f7f0e7b3ce55eee32892d6aa5cd88a7512ea25 (diff) |
batman-adv: Split combined variable declarations
Multiple variable declarations in a single statements over multiple lines can
be split into multiple variable declarations without changing the actual
behavior.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
-rw-r--r-- | net/batman-adv/unicast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c index 9b2a222518f7..6c92eefd1b81 100644 --- a/net/batman-adv/unicast.c +++ b/net/batman-adv/unicast.c | |||
@@ -39,8 +39,8 @@ static struct sk_buff *frag_merge_packet(struct list_head *head, | |||
39 | (struct unicast_frag_packet *)skb->data; | 39 | (struct unicast_frag_packet *)skb->data; |
40 | struct sk_buff *tmp_skb; | 40 | struct sk_buff *tmp_skb; |
41 | struct unicast_packet *unicast_packet; | 41 | struct unicast_packet *unicast_packet; |
42 | int hdr_len = sizeof(struct unicast_packet), | 42 | int hdr_len = sizeof(struct unicast_packet); |
43 | uni_diff = sizeof(struct unicast_frag_packet) - hdr_len; | 43 | int uni_diff = sizeof(struct unicast_frag_packet) - hdr_len; |
44 | 44 | ||
45 | /* set skb to the first part and tmp_skb to the second part */ | 45 | /* set skb to the first part and tmp_skb to the second part */ |
46 | if (up->flags & UNI_FRAG_HEAD) { | 46 | if (up->flags & UNI_FRAG_HEAD) { |