diff options
author | 2022-05-12 17:37:14 +0200 | |
---|---|---|
committer | 2022-05-19 18:14:49 +0200 | |
commit | 6c5ba7395b1badce5e0b8e597907751e952646cb (patch) | |
tree | 14f53d97d9889bc109365dfd1efea8865518894a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | usb: cdns3: allocate TX FIFO size according to composite EP number (diff) | |
download | linux-dev-6c5ba7395b1badce5e0b8e597907751e952646cb.tar.xz linux-dev-6c5ba7395b1badce5e0b8e597907751e952646cb.zip |
usb: hub: Simplify error and success path in port_over_current_notify
kasprintf() returns NULL or valid pointer. Since kfree() can handle
NULL pointer condition, simplify error and success paths in function
port_over_current_notify() by removing multiple error path labels.
Signed-off-by: Bhuvanesh Surachari <Bhuvanesh_Surachari@mentor.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Link: https://lore.kernel.org/r/1652369834-4480-1-git-send-email-erosca@de.adit-jv.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions