[6/6] thermal/core: Remove unused macro THERMAL_TRIPS_NONE

Message ID 20201214233811.485669-6-daniel.lezcano@linaro.org
State New
Headers show
Series
  • [1/6] thermal/core: Remove the 'forced_passive' option
Related show

Commit Message

Daniel Lezcano Dec. 14, 2020, 11:38 p.m.
The macro THERMAL_TRIPS_NONE is no longer used, remove it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 include/linux/thermal.h | 1 -
 1 file changed, 1 deletion(-)

-- 
2.25.1

Comments

Thara Gopinath Jan. 11, 2021, 11:18 p.m. | #1
On 12/14/20 6:38 PM, Daniel Lezcano wrote:
> The macro THERMAL_TRIPS_NONE is no longer used, remove it.

> 

> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---


Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org>


>   include/linux/thermal.h | 1 -

>   1 file changed, 1 deletion(-)

> 

> diff --git a/include/linux/thermal.h b/include/linux/thermal.h

> index a57232a9a6f9..060a2160add4 100644

> --- a/include/linux/thermal.h

> +++ b/include/linux/thermal.h

> @@ -17,7 +17,6 @@

>   #include <linux/workqueue.h>

>   #include <uapi/linux/thermal.h>

>   

> -#define THERMAL_TRIPS_NONE	-1

>   #define THERMAL_MAX_TRIPS	12

>   

>   /* invalid cooling state */

> 


-- 
Warm Regards
Thara

Patch

diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index a57232a9a6f9..060a2160add4 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -17,7 +17,6 @@ 
 #include <linux/workqueue.h>
 #include <uapi/linux/thermal.h>
 
-#define THERMAL_TRIPS_NONE	-1
 #define THERMAL_MAX_TRIPS	12
 
 /* invalid cooling state */