From d3616e261249caa6544d36d6cdd0a7678450a04a Mon Sep 17 00:00:00 2001 From: Dongwoo Lee Date: Fri, 27 Aug 2021 14:46:45 +0900 Subject: [PATCH] pass: thermal: Fix invalid return value This fixes to not return value for void functions. Change-Id: Ic341a80a69da983ffc5d76905c190957a6148632 Signed-off-by: Dongwoo Lee --- src/pass/pass-thermal.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pass/pass-thermal.c b/src/pass/pass-thermal.c index f882041..badfc9c 100644 --- a/src/pass/pass-thermal.c +++ b/src/pass/pass-thermal.c @@ -160,8 +160,6 @@ static void notify_thermal_data(void *data, void *user_data) * measured temperature of each h/w resource. */ device_notify(DEVICE_NOTIFIER_THERMAL, (void *)&thermal_data); - - return 0; } /** @@ -223,8 +221,6 @@ static void response_scenario(void *data, void *user_data) } } } - - return 0; } static int thermal_get_scenario(void *data, void *user_data) -- 2.7.4