diff options
author | Viresh Kumar <[email protected]> | 2015-01-06 21:09:04 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2015-01-23 23:06:43 +0100 |
commit | f93dbbbd108936b18b3230af36d9a36866ce69a7 (patch) | |
tree | 1ca2f65cd9fe945bd8185b18b73879959c1216bb /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 9531347c61f689ac6de899a03ce91be4157277f7 (diff) |
cpufreq: stats: don't check for freq table while freeing stats
While we allocate stats, we do need to check if freq-table is present
or not as we need to use it then. But while freeing stats, all we need
to know is if stats holds a valid pointer value. There is no use of
testing if cpufreq table is present or not.
Don't check it.
Reviewed-by: Prarit Bhargava <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions