projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f52ee1
)
batman-adv: iv_ogm, fix coding style
author
Markus Pargmann
<mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:35 +0000
(12:41 +0100)
committer
Antonio Quartulli
<antonio@meshcoding.com>
Wed, 3 Jun 2015 08:58:31 +0000
(10:58 +0200)
The kernel coding style says, that there should not be multiple
assignments in one row.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_iv_ogm.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/bat_iv_ogm.c
b/net/batman-adv/bat_iv_ogm.c
index 23c41d17d999e47f5d3a233dd20ad8e0d6bf2522..0019f1bfbe8b01bbc6c92609d1206314dbdba56d 100644
(file)
--- a/
net/batman-adv/bat_iv_ogm.c
+++ b/
net/batman-adv/bat_iv_ogm.c
@@
-64,7
+64,9
@@
static void batadv_ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index,
static uint8_t batadv_ring_buffer_avg(const uint8_t lq_recv[])
{
const uint8_t *ptr;
- uint16_t count = 0, i = 0, sum = 0;
+ uint16_t count = 0;
+ uint16_t i = 0;
+ uint16_t sum = 0;
ptr = lq_recv;