sh_eth: simplify sh_eth_check_reset()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 18 Feb 2018 15:21:05 +0000 (18:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 16:33:57 +0000 (11:33 -0500)
commit607ea03221ff84943e840d3707dbeb0b4b88959f
treeba04533ca38177908d64340681356899db3ad66e
parentc088165d2b9e0ba133fde7a4848e139e3d69ea63
sh_eth: simplify sh_eth_check_reset()

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 <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c