]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Remove pointless stub
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 15 Oct 2020 14:44:27 +0000 (16:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2020 15:21:51 +0000 (17:21 +0200)
commitdfd823407e6cb2aeb0d8a3eabf9e19b2f6ad4fc1
tree327f37b22719dcff2e7a8dacc9c3936271484d32
parente605fe68bf9e50269cb56f18a589367bf50b99d0
cpuidle: Remove pointless stub

The cpuidle.h header is declaring a function with an empty stub
for the cpuidle disabled case, but that function is only called
by cpuidle governors which depend on cpuidle anyway.

In other words, the function is only called when cpuidle is enabled,
so there is no need for the stub.

Remove the pointless stub.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/cpuidle.h