From patchwork Wed Jan 27 19:26:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 60642 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp41983lbb; Wed, 27 Jan 2016 11:33:07 -0800 (PST) X-Received: by 10.66.144.37 with SMTP id sj5mr44504452pab.69.1453923187489; Wed, 27 Jan 2016 11:33:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si11279563pft.41.2016.01.27.11.33.07; Wed, 27 Jan 2016 11:33:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966681AbcA0TdF (ORCPT + 30 others); Wed, 27 Jan 2016 14:33:05 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:33899 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965314AbcA0Tc5 (ORCPT ); Wed, 27 Jan 2016 14:32:57 -0500 Received: by mail-lb0-f181.google.com with SMTP id cl12so11322633lbc.1 for ; Wed, 27 Jan 2016 11:32:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=VLBuQe7Tgjn+gt+gdQWQZPSNuvQr499SYeeI3z0/cHE=; b=Uuek6CYyQuFIBt38j0DB1mCOFXMtMXR99wCLH0UwfyPqSSZsqEoRk+lLFVNhsfNI49 gleziLnxpbXkUt4/Ww87zYbWvklp/3Vhjwcw8EdiObdP3Frd6m3pCJX+CZpUh6FVa8/b a+g0lbAlM9WFr+j7VHBMBwdJubvoZ06R+wxAo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VLBuQe7Tgjn+gt+gdQWQZPSNuvQr499SYeeI3z0/cHE=; b=AKJvhbye703/xo2d9VjuVF5yn9ykV2sAm43HoDV5jI3o42wf2qwmpFKx42K9DpiyYS oMmOMPrg61DiDL9oz+xgA92Q8XVdv6YHXyuKK0qeR/44UYcdTpaY2mWOGSRlGyR0qg3Y 1Ct3dPQZMu00uOFS+TzmzGvXQ8ZQwpluwLw6a8htWAw4vGvSP1Q9BeWml1rJcuH7aVyR tUzAUAZatIAjIRHiMcx1RWPXB03pY6a4d5KSBNghiZB6RgLarQpbqtiqEpO7/GKXcMjM RnLDZi9Fnbd+RAvpjJZ4orAmn5/+fuAktMhfWA5LeFo3NemE/9QamBVR0hag/+t8/zum 2Vnw== X-Gm-Message-State: AG10YOSKKPiJeUwBqNt2zYXPxs5UAfcjqmgPm3wcBdpAWp58mZkYHlQne65ssiqwKCFrir8L X-Received: by 10.112.72.34 with SMTP id a2mr9293965lbv.18.1453923176140; Wed, 27 Jan 2016 11:32:56 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id m21sm983988lfm.48.2016.01.27.11.32.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jan 2016 11:32:55 -0800 (PST) From: Anders Roxell To: rjw@rjwysocki.net, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, Anders Roxell Subject: [PATCH] drivers/cpuidle: coupled: remove unused define cpuidle_coupled_lock Date: Wed, 27 Jan 2016 20:26:54 +0100 Message-Id: <1453922814-3173-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/cpuidle/coupled.c | 1 - 1 file changed, 1 deletion(-) -- 2.1.4 diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c index 344058f..d5657d5 100644 --- a/drivers/cpuidle/coupled.c +++ b/drivers/cpuidle/coupled.c @@ -119,7 +119,6 @@ struct cpuidle_coupled { #define CPUIDLE_COUPLED_NOT_IDLE (-1) -static DEFINE_MUTEX(cpuidle_coupled_lock); static DEFINE_PER_CPU(struct call_single_data, cpuidle_coupled_poke_cb); /*