[COMMON] thermal: isp_cooling: Fix SVACE(WGID:82271) bug
authorSoomin Kim <sm8326.kim@samsung.com>
Mon, 2 Jan 2017 04:59:47 +0000 (13:59 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:09 +0000 (17:18 +0900)
commit28917531fb67d5c9dca9b2c173f33fe6cc531c20
tree7446bd22385ebbe0303dbf4880d12136b519f14f
parentb83ecb29ce049abef6dcb0c1ea9e0a95bab3d262
[COMMON] thermal: isp_cooling: Fix SVACE(WGID:82271) bug

Since thermal_block and function are already checked above,
these can't be NULL. So, remove unnecessary code.

Change-Id: I88f589684de306c8930253cd8195b5ac6cd52a5e
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
drivers/thermal/isp_cooling.c