提交 6c4a1622 编写于 作者: M Markus Pargmann 提交者: Antonio Quartulli

batman-adv: iv_ogm, fix coding style

The kernel coding style says, that there should not be multiple
assignments in one row.
Signed-off-by: NMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: NMarek Lindner <mareklindner@neomailbox.ch>
上级 9f52ee19
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册