]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbee1e5c551b857185b546d7a492f76e871419a9
tree5f38ac27efe7e97665b82d511664e9e62a5f987e
parenta3e3b9fafd110b4a20d60af742e6465abff4c3e5
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