Re: [PATCH] drivers/cpuidle: coupled: remove unused define cpuidle_coupled_lock

From: Rafael J. Wysocki
Date: Wed Jan 27 2016 - 17:54:26 EST


On Wednesday, January 27, 2016 08:26:54 PM Anders Roxell wrote:
> 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@xxxxxxxxxx>

Applied, thanks!

Rafael