summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-07-18 17:04:05 +0300
committerMark Brown <broonie@kernel.org>2022-07-19 16:54:26 +0300
commit2d86cef353b8f3d20b16f8c5615742fd6938c801 (patch)
tree93ebbf88deb57e12c746f99e99a7555e69ea81e2 /tools/perf/scripts/python/export-to-postgresql.py
parent393a40b50fe976a121b15752d2dd6151c7a92126 (diff)
downloadlinux-2d86cef353b8f3d20b16f8c5615742fd6938c801.tar.xz
ASoC: nau8821: Don't unconditionally free interrupt
The remove() operation unconditionally frees the interrupt for the device but we may not actually have an interrupt so there might be nothing to free. Since the interrupt is requested after all other resources we don't need the explicit free anyway, unwinding is guaranteed to be safe, so just delete the remove() function and let devm take care of things. Reported-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org> Tested-by: Zheyu Ma <zheyuma97@gmail.com> Link: https://lore.kernel.org/r/20220718140405.57233-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions