Searched hist:a4e49c9b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | devfreq_cooling.c | a4e49c9b Mon Feb 06 22:10:01 CST 2017 Viresh Kumar <viresh.kumar@linaro.org> thermal: devfreq: Simplify expression
There is no need to check for IS_ERR() as we are looking for a very particular error value here. Drop the first check.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com> a4e49c9b Mon Feb 06 22:10:01 CST 2017 Viresh Kumar <viresh.kumar@linaro.org> thermal: devfreq: Simplify expression There is no need to check for IS_ERR() as we are looking for a very particular error value here. Drop the first check. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
|