commit | 607ea03221ff84943e840d3707dbeb0b4b88959f | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Feb 18 18:21:05 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 19 11:33:57 2018 -0500 |
tree | ba04533ca38177908d64340681356899db3ad66e | |
parent | c088165d2b9e0ba133fde7a4848e139e3d69ea63 [diff] |
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>