diff options
| author | Bhuvanesh Surachari <[email protected]> | 2022-05-12 17:37:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-19 18:14:49 +0200 |
| commit | 6c5ba7395b1badce5e0b8e597907751e952646cb (patch) | |
| tree | 14f53d97d9889bc109365dfd1efea8865518894a /tools/perf/scripts/python/stackcollapse.py | |
| parent | dce49449e04ff150838a31386ee65917beb9ebb5 (diff) | |
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 <[email protected]>
Signed-off-by: Eugeniu Rosca <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions