]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd4d8140176972fdb3f00bffc88e63af781de8d67
tree3343f9deea57e137b2ec984f1734f376a9d834b2
parentb0142d66f4edb8578b7772d6d7ad731836b82ddb
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