diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-02-18 18:21:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 11:33:57 -0500 |
commit | 607ea03221ff84943e840d3707dbeb0b4b88959f (patch) | |
tree | ba04533ca38177908d64340681356899db3ad66e /net | |
parent | c088165d2b9e0ba133fde7a4848e139e3d69ea63 (diff) | |
download | linux-607ea03221ff84943e840d3707dbeb0b4b88959f.tar.bz2 |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions