]> 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)
commit09dd0720169679686ba890018cfe9c6593d5173b
tree1127226be49fe5f7d9ab150166fb96d1bd7eb384
parentd4a40e3eebfe8ae5ed0ca96ae989d415bf3d6f80
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