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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NZhang Rui <rui.zhang@intel.com>
Showing
想要评论请 注册 或 登录