diff options
author | Lukasz Luba <l.luba@partner.samsung.com> | 2018-10-15 09:21:01 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2018-11-30 16:44:34 +0800 |
commit | 5be52fccaf3d218b278320b0d183aa36aab48add (patch) | |
tree | 0c22c27369add7425a658c0c994b283083e438d7 /drivers/thermal | |
parent | 2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff) | |
download | blackbird-op-linux-5be52fccaf3d218b278320b0d183aa36aab48add.tar.gz blackbird-op-linux-5be52fccaf3d218b278320b0d183aa36aab48add.zip |
thermal: remove unused function parameter
Clean unused parameter from internal framework function.
Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/thermal_core.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index d6ebc1cf6aa9..39fc8124741c 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -315,9 +315,7 @@ static void monitor_thermal_zone(struct thermal_zone_device *tz) mutex_unlock(&tz->lock); } -static void handle_non_critical_trips(struct thermal_zone_device *tz, - int trip, - enum thermal_trip_type trip_type) +static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) { tz->governor ? tz->governor->throttle(tz, trip) : def_governor->throttle(tz, trip); @@ -418,7 +416,7 @@ static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) if (type == THERMAL_TRIP_CRITICAL || type == THERMAL_TRIP_HOT) handle_critical_trips(tz, trip, type); else - handle_non_critical_trips(tz, trip, type); + handle_non_critical_trips(tz, trip); /* * Alright, we handled this trip successfully. * So, start monitoring again. |