projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4837a46
)
[COMMON] thermal: gpu_cooling: Fix Prevent CID 11404
author
Hyeonseong Gil
<hs.gil@samsung.com>
Fri, 17 Feb 2017 08:06:46 +0000
(17:06 +0900)
committer
Chungwoo Park
<cww.park@samsung.com>
Mon, 21 May 2018 08:18:27 +0000
(17:18 +0900)
Change-Id: I9d00145cd8c52c11f7ec992d85ee58026abf3c7c
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/gpu_cooling.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/thermal/gpu_cooling.c
b/drivers/thermal/gpu_cooling.c
index 935c033f07a0a658589e20d1dc570e3e6ef54944..e261b57b84dd0288981925fa554aa612b29aa309 100644
(file)
--- a/
drivers/thermal/gpu_cooling.c
+++ b/
drivers/thermal/gpu_cooling.c
@@
-168,9
+168,6
@@
static int get_property(unsigned int gpu, unsigned long input,
if (!output)
return -EINVAL;
- if (!table)
- return -EINVAL;
-
cpufreq_for_each_valid_entry(pos, table) {
/* ignore duplicate entry */
if (freq == pos->frequency)