summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle-haltpoll.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-30 13:11:08 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-10 15:34:28 +0300
commitb7e7fffd3e8c81aa0654ed4c9f7a142b4c4dab1a (patch)
tree359584da2ba92f2512edd87d28384180be421d86 /drivers/cpuidle/cpuidle-haltpoll.c
parentcab09f3d2d2a0a6cb3dfb678660d67a2c3764f50 (diff)
downloadlinux-b7e7fffd3e8c81aa0654ed4c9f7a142b4c4dab1a.tar.xz
cpuidle: teo: Get rid of redundant check in teo_update()
Notice that setting measured_us to UINT_MAX in teo_update() earlier doesn't change the behavior of the following code, so do that and eliminate a redundant check used for setting measured_us to UINT_MAX. This change is not expected to alter functionality. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-haltpoll.c')
0 files changed, 0 insertions, 0 deletions