[v2,18/26] batman-adv: iv_ogm, fix coding style
Commit Message
The kernel coding style says, that there should not be multiple
assignments in one row.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
bat_iv_ogm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Comments
On Friday, December 26, 2014 12:41:35 Markus Pargmann wrote:
> The kernel coding style says, that there should not be multiple
> assignments in one row.
>
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
> ---
> bat_iv_ogm.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied in revision 63c15a5.
Thanks,
Marek
@@ -66,7 +66,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;