]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Drop unnecessary type cast in cpuidle_poll_time()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 Dec 2019 10:30:50 +0000 (11:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 Dec 2019 16:56:08 +0000 (17:56 +0100)
commit0c0eb0030beb64f23356e8239e9140464f5a537d
tree3343f9deea57e137b2ec984f1734f376a9d834b2
parent51445b7d5dfa18c59c45c44809da7a7233134c8d
cpuidle: Drop unnecessary type cast in cpuidle_poll_time()

The data type of the target_residency_ns field in struct cpuidle_state
is u64, so it does not need to be cast into u64.

Get rid of the unnecessary type cast.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle.c