Home
last modified time | relevance | path

Searched hist:"9 de17578b912f39e818035a217efd82a98cd26a6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget.cdiff 9de17578b912f39e818035a217efd82a98cd26a6 Fri Aug 04 04:32:52 CDT 2023 Ruan Jinjie <ruanjinjie@huawei.com> usb: musb: Remove an unnecessary NULL value

The NULL initialization of the pointers assigned by kzalloc() first is
not necessary, because if the kzalloc() failed, the pointers will be
assigned NULL, otherwise it works as usual. so remove it.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230804093253.91647-5-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>