aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-12-17 13:29:03 +0200
committerKalle Valo <[email protected]>2023-12-18 20:46:11 +0200
commit27ce06d018cec6a5042069fb21b000753dd147d2 (patch)
treeace2acfac509ae05aa7fd3bd1755ddfca456c88b /tools/perf/scripts/python/bin/stackcollapse-report
parent504130491026be9cf19f9de562172d340a06a2bb (diff)
wifi: ath9k: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is ignored (apart from emitting a warning) and this typically results in resource leaks. To improve here there is a quest to make the remove callback return void. In the first step of this quest all drivers are converted to .remove_new(), which already returns void. Eventually after all drivers are converted, .remove_new() will be renamed to .remove(). Trivially convert this driver from always returning zero in the remove callback to the void returning variant. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Jeff Johnson <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions