diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-30 12:11:08 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-10 14:34:28 +0200 |
commit | b7e7fffd3e8c81aa0654ed4c9f7a142b4c4dab1a (patch) | |
tree | 359584da2ba92f2512edd87d28384180be421d86 /drivers/cpuidle/cpuidle-haltpoll.c | |
parent | cab09f3d2d2a0a6cb3dfb678660d67a2c3764f50 (diff) |
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