diff options
| author | Javier F. Arias <jarias.linux@gmail.com> | 2019-10-30 06:04:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-30 12:38:46 +0300 |
| commit | 67e7bd248473ede722563ae1a8d24e856a42f644 (patch) | |
| tree | dbbd3cbd1a42e349a317146f47e38808e183c8ee /tools/perf/scripts/python | |
| parent | 09ef6fde7d89d08f390e6cf53cf40f9623d61616 (diff) | |
| download | linux-67e7bd248473ede722563ae1a8d24e856a42f644.tar.xz | |
staging: emxx_udc: Fix invalid reference error
This patch fixes an invalid reference error by moving the code that
is executed when a queue element is found, into the loop. Also, it
removes an unnecessary test that now checks if the element is not
present in the queue.
Issue found by Coccinelle.
Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Link: https://lore.kernel.org/r/20191030030419.mmnrzm7hr4encfai@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
