mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
This commit is contained in:
parent
9f52ee19c3
commit
6c4a1622e2
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue