diff options
| author | Samuil Ivanov <samuil.ivanovbg@gmail.com> | 2019-10-23 23:58:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-26 20:49:09 +0200 |
| commit | 41e1bf811ace29bdc0df15523e3dfb3233704d1b (patch) | |
| tree | 2da5b6fa29fe672720f76db8f0b7f8004b1ab633 /tools/perf/scripts/python | |
| parent | drivers/staging/fbtft/fb_seps525: New driver for SEPS525 (Syncoam) LCD Contro... (diff) | |
| download | linux-41e1bf811ace29bdc0df15523e3dfb3233704d1b.tar.gz linux-41e1bf811ace29bdc0df15523e3dfb3233704d1b.zip | |
Staging: qlge: Rewrite two while loops as simple for loops
This is a task from the TODO list of qlge driver:
- some "while" loops could be rewritten with simple "for"
The change is in functions ql_wait_reg_rdy and ql_wait_cfg in qlge_main.c.
The while loops are basically count based
(they decrement on each iteration),
and it makes more sense to be a for loop construction instead.
Signed-off-by: Samuil Ivanov <samuil.ivanovbg@gmail.com>
Link: https://lore.kernel.org/r/20191023205855.GA1841@samuil-ThinkCentre-M92P
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
