From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936304AbcA0WyX (ORCPT ); Wed, 27 Jan 2016 17:54:23 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:52174 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S935233AbcA0WvK (ORCPT ); Wed, 27 Jan 2016 17:51:10 -0500 From: "Rafael J. Wysocki" To: Anders Roxell Cc: daniel.lezcano@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Subject: Re: [PATCH] drivers/cpuidle: coupled: remove unused define cpuidle_coupled_lock Date: Wed, 27 Jan 2016 23:52:04 +0100 Message-ID: <1502553.xF2iE4QOmB@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1453922814-3173-1-git-send-email-anders.roxell@linaro.org> References: <1453922814-3173-1-git-send-email-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied, thanks! Rafael