]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Drop unused cpuidle_driver_ref/unref() functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jan 2020 20:42:16 +0000 (21:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jan 2020 15:47:22 +0000 (16:47 +0100)
commita441ec81ed5a38a44be138186a646c5dd010eba5
treeadaa29034f8389ff3cb1622ed670753388105ba5
parent7aea43d8efd1436f0ae00c905aae6bad1ea80280
cpuidle: Drop unused cpuidle_driver_ref/unref() functions

The cpuidle_driver_ref() and cpuidle_driver_unref() functions are not
used and the refcnt field in struct cpuidle_driver operated by them
is not updated anywhere else (so it is permanently equal to 0), so
drop both of them along with refcnt.

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