diff options
author | Zhang Rui <[email protected]> | 2023-04-19 10:44:05 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-05-24 18:46:19 +0200 |
commit | 31cb1304ad8bd27b7d2abd8669fb887fb47d8eaf (patch) | |
tree | 7ced8b7ea2d6c32713d6f5beed47a57626024065 | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) |
powercap: intel_rapl: Remove unused field in struct rapl_if_priv
After commit f1e8d7560d30 ("powercap/intel_rapl: enumerate Psys RAPL
domain together with package RAPL domain"), the platform_rapl_domain field
is not used anymore. Remove it from rapl_if_priv structure.
Fixes: f1e8d7560d30 ("powercap/intel_rapl: enumerate Psys RAPL domain together with package RAPL domain")
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
-rw-r--r-- | include/linux/intel_rapl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h index 9f4b6f5b822f..828557645770 100644 --- a/include/linux/intel_rapl.h +++ b/include/linux/intel_rapl.h @@ -124,7 +124,6 @@ struct reg_action { */ struct rapl_if_priv { struct powercap_control_type *control_type; - struct rapl_domain *platform_rapl_domain; enum cpuhp_state pcap_rapl_online; u64 reg_unit; u64 regs[RAPL_DOMAIN_MAX][RAPL_DOMAIN_REG_MAX]; |