aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2016-01-20 19:14:23 +0900
committerStephen Boyd <[email protected]>2016-01-29 12:47:02 -0800
commit36da4def1ea7a5f698d3096d10316f911e819621 (patch)
tree11951f58ef837e175fd0a393987ac2b7832f2af5 /tools/perf/scripts/python/export-to-postgresql.py
parent31ad0e2a9ab0667b40a654e5ba412987587229ea (diff)
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions