Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c4a1622 authored by Markus Pargmann's avatar Markus Pargmann Committed by Antonio Quartulli
Browse files

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: default avatarMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
parent 9f52ee19
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -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[])
static uint8_t batadv_ring_buffer_avg(const uint8_t lq_recv[])
{
{
	const uint8_t *ptr;
	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;
	ptr = lq_recv;