diff options
| author | Xi Pardee <xi.pardee@linux.intel.com> | 2026-05-04 21:33:32 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-08 21:38:42 +0300 |
| commit | dfe614f82e445a65cb2afd01859b06b01fce8889 (patch) | |
| tree | 13eee7eb98ad43845cc73949adc99b4820231097 /tools/perf/scripts/python | |
| parent | 1448c2d2ca5cc7f4ea6694e6bc809946de0a751c (diff) | |
platform/x86/intel/pmc: Use __free() in pmc_core_punit_pmt_init()
Use scope-based cleanup in pmc_core_punit_pmt_init() instead of manually
freeing. This simplifies the code flow by removing the explicit put call,
making it less error-prone.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://patch.msgid.link/20260505043342.2573556-2-xi.pardee@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
