]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thermal: qoriq: remove useless call for of_thermal_get_trip_points()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 26 Apr 2017 01:50:02 +0000 (10:50 +0900)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 24 May 2017 03:02:03 +0000 (20:02 -0700)
commit0e774888675d7ec693379a228490ce611135cbc2
treeb25180421df07ca9320ec31f5b3d6e863aa15de5
parent08332893e37af6ae779367e78e444f8f9571511d
thermal: qoriq: remove useless call for of_thermal_get_trip_points()

Building this driver with W=1 reports:
  warning: variable 'trip' set but not used [-Wunused-but-set-variable]

The call for of_thermal_get_trip_points() is useless.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qoriq_thermal.c