devfreq_cooling: no need to check state with negative number
We could see that state is defined as unsigned type, so it should never be less than zero. Let' remove this check. Signed-off-by: NShawn Lin <shawn.lin@rock-chips.com> Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com> Signed-off-by: NZhang Rui <rui.zhang@intel.com>
Showing
想要评论请 注册 或 登录