summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-04 12:32:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 15:48:55 +0300
commit9de17578b912f39e818035a217efd82a98cd26a6 (patch)
treebe5085046f0cba04c30c5b51bee7d9f4b1a4364d /drivers/usb/usbip
parent708368fb845f668ae5817f101e61bad8bbdc2bb8 (diff)
downloadlinux-9de17578b912f39e818035a217efd82a98cd26a6.tar.xz
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>
Diffstat (limited to 'drivers/usb/usbip')
0 files changed, 0 insertions, 0 deletions