alistair23-linux/drivers/staging/emxx_udc
Javier F. Arias 67e7bd2484 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>
2019-10-30 10:38:46 +01:00
..
emxx_udc.c staging: emxx_udc: Fix invalid reference error 2019-10-30 10:38:46 +01:00
emxx_udc.h staging: emxx_udc: remove local TRUE/FALSE definition 2019-09-12 10:35:51 +01:00
Kconfig
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO