diff options
author | Ajay Agarwal <[email protected]> | 2023-05-04 16:43:01 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-05-19 10:29:40 -0500 |
commit | 911afb9f9516a8ea2db1d15b18436c19a591dc5c (patch) | |
tree | e928768fc27436bd0f9f99af8cbb24ffcde2be12 /tools/perf/util/trace-event-scripting.c | |
parent | 05a55d9ca1457295db73f127e39ec3b18f0b32b2 (diff) |
PCI/ASPM: Remove unnecessary ASPM_STATE_L1SS check
Previously aspm_l1ss_init() checked if ASPM_STATE_L1SS is supported before
calling aspm_calc_l12_info(), only for that function to return if
ASPM_STATE_L1_2_MASK is not supported. Simplify the logic by directly
checking for ASPM_STATE_L1_2_MASK.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ajay Agarwal <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions