cpuidle: coupled: remove unused define cpuidle_coupled_lock
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 27 Jan 2016 19:26:54 +0000 (20:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Jan 2016 22:08:46 +0000 (23:08 +0100)
commit75274b33e779ae40a750bcb4bd0b07c4dfef4746
tree5f38ac27efe7e97665b82d511664e9e62a5f987e
parent6f16886b7c050c934305b1f285c3458ff1b6e4e4
cpuidle: coupled: remove unused define cpuidle_coupled_lock

This was found with the -RT patch enabled, but the fix should apply to
non-RT also.

Used multi_v7_defconfig+PREEMPT_RT_FULL=y and this caused a compilation
warning without this fix:
../drivers/cpuidle/coupled.c:122:21: warning: 'cpuidle_coupled_lock'
defined but not used [-Wunused-variable]

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/coupled.c