projects
/
platform
/
core
/
system
/
pass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b137c9
)
pass: thermal: Fix invalid return value
66/263166/1
author
Dongwoo Lee
<dwoo08.lee@samsung.com>
Fri, 27 Aug 2021 05:46:45 +0000
(14:46 +0900)
committer
Dongwoo Lee
<dwoo08.lee@samsung.com>
Fri, 27 Aug 2021 06:18:07 +0000
(15:18 +0900)
This fixes to not return value for void functions.
Change-Id: Ic341a80a69da983ffc5d76905c190957a6148632
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/pass/pass-thermal.c
patch
|
blob
|
history
diff --git
a/src/pass/pass-thermal.c
b/src/pass/pass-thermal.c
index f8820418a5e93fcdbe08051df230db9713c3c7f5..badfc9c4f930a914a548a773014b8e62525d4edc 100644
(file)
--- 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)