diff options
| author | Douglas Anderson <dianders@chromium.org> | 2017-10-03 20:49:43 +0530 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-10-13 12:38:02 +0300 |
| commit | 40351051d022762d95142a5a9e37220dbbce39f5 (patch) | |
| tree | e23d0f60589ac86124f45a578547738f7a3e971d /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bcma: keep *config menu together (diff) | |
| download | linux-40351051d022762d95142a5a9e37220dbbce39f5.tar.gz linux-40351051d022762d95142a5a9e37220dbbce39f5.zip | |
mwifiex: kill useless list_empty checks
There's absolutely no reason to check to see if a list is empty
before iterating through it. It's just like writing code like
this:
if (count != 0) {
for (i = 0; i < count; i++) {
...
}
}
The loop will already be avoided if "count == 0" so there was no
reason to check.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
