summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSamuil Ivanov <samuil.ivanovbg@gmail.com>2019-10-23 23:58:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-26 21:49:09 +0300
commit41e1bf811ace29bdc0df15523e3dfb3233704d1b (patch)
tree2da5b6fa29fe672720f76db8f0b7f8004b1ab633 /tools/perf/scripts/python/exported-sql-viewer.py
parentf29acb9c5d0fe438291be62a68590891ce1cad9a (diff)
downloadlinux-41e1bf811ace29bdc0df15523e3dfb3233704d1b.tar.xz
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions