summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-04 12:32:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 15:48:24 +0300
commit3024faf74de7ed7c0f6dc29bced4dbdbd2a1eade (patch)
tree9a95e52aaf4ecb655df82e13c269f328b7c56373 /tools/perf/scripts/python/task-analyzer.py
parent803b1c8a0cea58cccde16eba31d285956f4c920c (diff)
downloadlinux-3024faf74de7ed7c0f6dc29bced4dbdbd2a1eade.tar.xz
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions