diff options
| author | Sergei Shtylyov <[email protected]> | 2018-02-18 15:21:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-02-19 16:33:57 +0000 |
| commit | 607ea03221ff84943e840d3707dbeb0b4b88959f (patch) | |
| tree | ba04533ca38177908d64340681356899db3ad66e /net/tipc/net.c | |
| parent | Merge branch 'dwmac-meson8b-small-cleanup' (diff) | |
| download | kernel-607ea03221ff84943e840d3707dbeb0b4b88959f.tar.gz kernel-607ea03221ff84943e840d3707dbeb0b4b88959f.zip | |
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 <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions
