diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-06-17 11:20:46 +0200 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@linux.intel.com> | 2026-07-01 10:50:28 +0200 |
| commit | 20c3dcb1f473aea0810bb6c3b46149188fe3be0b (patch) | |
| tree | bfa602254f36c9f35242f6c3bcd2a58db79efa4b /tools/perf/scripts/python/syscall-counts.py | |
| parent | 9e9762e578db7556bea644bb5a8a2435f63544d1 (diff) | |
i2c: acpi: Free resource list at appropriate time
We do unneeded "double free" (emptying an empty list) in one case.
At the same time we shadow a real error code. Address them by
refactoring the code in question.
Both are not critical issues at all, they just make code robust
against any possible future changes in the flow.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260617092046.2649219-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
