summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-04 17:32:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 14:48:24 +0200
commit3024faf74de7ed7c0f6dc29bced4dbdbd2a1eade (patch)
tree9a95e52aaf4ecb655df82e13c269f328b7c56373 /tools/perf/scripts/python
parent803b1c8a0cea58cccde16eba31d285956f4c920c (diff)
usb: gadget: udc: Remove unnecessary NULL values
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-2-ruanjinjie@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions