diff options
author | Yuesong Li <liyuesong@vivo.com> | 2024-08-21 16:52:45 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-22 17:17:56 +0800 |
commit | 7393bf343a0346c4b0ac0f26991c45e9edf89cb7 (patch) | |
tree | 750367b801870e1c79bba58fd991ccbe761d3164 /drivers/usb/typec | |
parent | e24ed5e2f94e67a2b5d5bb2b45d1d23475189e48 (diff) |
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: Yuesong Li <liyuesong@vivo.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Link: https://lore.kernel.org/r/20240821085245.25348-1-liyuesong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec')
0 files changed, 0 insertions, 0 deletions