Skip to content

Commit 31cb130

Browse files
zhang-ruirafaeljw
authored andcommitted
powercap: intel_rapl: Remove unused field in struct rapl_if_priv
After commit f1e8d75 ("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: f1e8d75 ("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]>
1 parent 44c026a commit 31cb130

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/intel_rapl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ struct reg_action {
124124
*/
125125
struct rapl_if_priv {
126126
struct powercap_control_type *control_type;
127-
struct rapl_domain *platform_rapl_domain;
128127
enum cpuhp_state pcap_rapl_online;
129128
u64 reg_unit;
130129
u64 regs[RAPL_DOMAIN_MAX][RAPL_DOMAIN_REG_MAX];

0 commit comments

Comments
 (0)