aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-05-30 09:36:33 +0200
committerGreg Kroah-Hartman <[email protected]>2023-05-30 15:27:17 +0100
commit56dcc717ecf5bc2ff2f686346ceb72da0e706203 (patch)
treee7bb2bb097b78e3b8e121982698f0b60d014185f /tools/perf/scripts/python/flamegraph.py
parent046895105d9666ab56e86ce8dd9786f8003125c6 (diff)
usb: misc: onboard_hub: Don't warn twice about problems during remove
If onboard_hub_power_off() called by onboard_hub_remove() fails it emits an error message. Forwarding the returned error value to the driver core results in another error message. As the return value is otherwise ignored, just drop the return value. There is no side effect apart from suppressing the core's warning. Instead of returning zero unconditionally, convert to .remove_new() which has the same semantics as .remove() that unconditionally returns zero. Signed-off-by: Uwe Kleine-König <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions