summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-11-04 14:39:13 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-04 09:42:14 +0100
commitc70ca298036c58a88686ff388d3d367e9d21acf0 (patch)
tree249fa4fd366f6e0d6053de8622c408d8eed8847e /scripts/lib/kdoc/kdoc_parser.py
parent061c991697062f3bf87b72ed553d1d33a0e370dd (diff)
perf/core: Simplify the perf_event_alloc() error path
The error cleanup sequence in perf_event_alloc() is a subset of the existing _free_event() function (it must of course be). Split this out into __free_event() and simplify the error path. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Ravi Bangoria <ravi.bangoria@amd.com> Link: https://lore.kernel.org/r/20241104135517.967889521@infradead.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions