summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2018-02-18 18:21:05 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 11:33:57 -0500
commit607ea03221ff84943e840d3707dbeb0b4b88959f (patch)
treeba04533ca38177908d64340681356899db3ad66e /net
parentc088165d2b9e0ba133fde7a4848e139e3d69ea63 (diff)
downloadlinux-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