aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGayatri Kammela <[email protected]>2020-02-27 15:29:15 -0800
committerAndy Shevchenko <[email protected]>2020-02-28 12:43:03 +0200
commit08ec5020bd6cf0102ec92c00ed149d8b76ace5ee (patch)
tree24bcbb6dbb1e524eb714d3e6250fbedae89fad5e /tools/perf/scripts/python
parentaae43c2bcdc1939c4c6a51b3e28460ada68f8c0c (diff)
platform/x86: intel_pmc_core: Remove duplicate 'if' to create debugfs entry
A debugfs entry for substate_live_status_registers is created only if the platform has sub-states, which requires the same condition to create substate_status_registers debugfs entry. Hence remove the redundant condition and re-use the existing one. Cc: Chen Zhou <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: David E. Box <[email protected]> Signed-off-by: Gayatri Kammela <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions