]> git.baikalelectronics.ru Git - kernel.git/commit
staging: emxx_udc: use list_first_entry_or_null()
authorGeliang Tang <geliangtang@163.com>
Mon, 16 Nov 2015 13:54:46 +0000 (21:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Dec 2015 02:32:52 +0000 (18:32 -0800)
commitae0433d04575fe739fa025c0eefbf0465f73ad1a
tree1127226be49fe5f7d9ab150166fb96d1bd7eb384
parenta485edf34ce0cf41ffddd67fbdc8378f1d8c240e
staging: emxx_udc: use list_first_entry_or_null()

Simplify the code with list_first_entry_or_null().

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c