summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-01-20 13:14:23 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-01-29 23:47:02 +0300
commit36da4def1ea7a5f698d3096d10316f911e819621 (patch)
tree11951f58ef837e175fd0a393987ac2b7832f2af5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent31ad0e2a9ab0667b40a654e5ba412987587229ea (diff)
downloadlinux-36da4def1ea7a5f698d3096d10316f911e819621.tar.xz
clk: s2mps11: remove redundant static variables declaration
The clk_table and clk_data are declared static. The clk_table contains the three clock data structures belonging to the s2mps11 driver. In the probe function it gets stored into clk_data. Remove clk_table and refer directly to clk_data. clk_data, itself, is also declared static. Declare locally it and allocate it inside the probe function, as it is not used anywhere else. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions