thermal: int3403: remove unused struct 'int3403_performance_state'
authorDr. David Alan Gilbert <linux@treblig.org>
Wed, 29 May 2024 17:53:09 +0000 (18:53 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Jun 2024 19:22:02 +0000 (21:22 +0200)
'int3403_performance_state' has never been used since the original
commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/int3403_thermal.c

index 86901f9f54d8af48275d50aa145409b47dff0b7f..c094a422ded3d9b6dfcdc2b604f31baa9386ed99 100644 (file)
@@ -25,17 +25,6 @@ struct int3403_sensor {
        struct int34x_thermal_zone *int340x_zone;
 };
 
-struct int3403_performance_state {
-       u64 performance;
-       u64 power;
-       u64 latency;
-       u64 linear;
-       u64 control;
-       u64 raw_performace;
-       char *raw_unit;
-       int reserved;
-};
-
 struct int3403_cdev {
        struct thermal_cooling_device *cdev;
        unsigned long max_state;