Commit 7393bf34 authored by Yuesong Li's avatar Yuesong Li Committed by Greg Kroah-Hartman
Browse files

usb: gadget: lpc32xx_udc: Remove NULL check of list_entry()



list_entry() will never return a NULL pointer, thus remove the
check.

Signed-off-by: default avatarYuesong Li <liyuesong@vivo.com>
Reviewed-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Link: https://lore.kernel.org/r/20240821085245.25348-1-liyuesong@vivo.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e24ed5e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment