summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2024-09-24 21:00:09 +0300
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2024-10-21 17:00:52 +0300
commita1643ae9b3e3364edbb6cf285c5f2cf5d60336e6 (patch)
treec13741cf6adb3b1b13020303f4efd8f90ecb3fab /tools/perf/scripts/python/export-to-postgresql.py
parentd0fa55cc987026b8ce421b5a93239526641c44f1 (diff)
downloadlinux-a1643ae9b3e3364edbb6cf285c5f2cf5d60336e6.tar.xz
soc: mediatek: mtk-svs: Call of_node_put(np) only once in svs_get_subsys_device()
An of_node_put(np) call was immediately used after a pointer check for a of_find_device_by_node() call in this function implementation. Thus call such a function only once instead directly before the check. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/884f0a5d-e6d3-47dc-8a9e-201bb86b271f@web.de Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions