From: Sergei Shtylyov
Date: Sun, 18 Feb 2018 18:21:05 +0300
> The *while* loop in this function can be turned into a normal *for* loop.
> And getting rid of the single return point saves us a few more LoCs...
>
> Signed-off-by: Sergei Shtylyov
Applied to net-next, thanks Sergei.
> The patc
On Sun, Feb 18, 2018 at 4:21 PM, Sergei Shtylyov
wrote:
> The *while* loop in this function can be turned into a normal *for* loop.
> And getting rid of the single return point saves us a few more LoCs...
>
> Signed-off-by: Sergei Shtylyov
Reviewed-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
The *while* loop in this function can be turned into a normal *for* loop.
And getting rid of the single return point saves us a few more LoCs...
Signed-off-by: Sergei Shtylyov
---
The patch is against DaveM's 'net-next.git' repo.
drivers/net/ethernet/renesas/sh_eth.c | 16 ++--