devfreq_cooling: no need to check state with negative number
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 22 Aug 2016 08:08:06 +0000 (16:08 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 24 Aug 2016 07:53:10 +0000 (15:53 +0800)
commit8900f6fbb92fa0e43f0769cb1c8dce39db9d4dca
tree4f8ea630d24ca7cb39475edb61541ec3c3191e81
parent12fe77a84c7daee0f37b462674b7a62567315e81
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: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/devfreq_cooling.c
This page took 0.026129 seconds and 5 git commands to generate.