diff options
author | Markus Elfring <[email protected]> | 2021-02-01 11:13:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-04 17:00:32 +0100 |
commit | 65b2728145771b0df18f85303b8ae152cd53f2de (patch) | |
tree | 8a639bf0ab4986901b600d3f016381fbd524510e /tools/perf/scripts/python/stackcollapse.py | |
parent | 11a0b5e0ec8c13bef06f7414f9e914506140d5cb (diff) |
coresight: cti: Reduce scope for the variable 'cs_fwnode' in cti_plat_create_connection()
A local variable was used only within an else branch.
Thus move the definition for the variable “cs_fwnode” into
the corresponding code block.
This issue was detected by using the Coccinelle software.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions