From patchwork Fri Jan 15 19:21:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59891 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp739860lbb; Fri, 15 Jan 2016 11:27:21 -0800 (PST) X-Received: by 10.66.216.69 with SMTP id oo5mr17074060pac.126.1452886031393; Fri, 15 Jan 2016 11:27:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lo7si18211290pab.51.2016.01.15.11.27.11; Fri, 15 Jan 2016 11:27:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-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-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753450AbcAOT1K (ORCPT + 4 others); Fri, 15 Jan 2016 14:27:10 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35612 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751874AbcAOT1I (ORCPT ); Fri, 15 Jan 2016 14:27:08 -0500 Received: by mail-lf0-f43.google.com with SMTP id c192so288989946lfe.2 for ; Fri, 15 Jan 2016 11:27:07 -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:in-reply-to:references; bh=F87u1inZQw7lsj7PDQLZ1TCnowqOZlmQtNnl+UA61Qc=; b=MZPsE/y0L+mcOp5PSZ8/7ri6ZDVyufRpSejbSiVQmJ4+rcn/HVNk+2rG5+iO1zwA3k /qEyzDkwIMlMltVQSsELuyMurqBkWC3Qx5Lf1WTrQ2cduazD5QfgtJrljtNxSGsaF9Hh 1OXLeShzCHR28GxcZOd7mIAoG5hCdTf3B5QJA= 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:in-reply-to :references; bh=F87u1inZQw7lsj7PDQLZ1TCnowqOZlmQtNnl+UA61Qc=; b=HPl/DOzTZUq+/oXnhwfDHDMqyK/X32p0274+wePKplTEYy6ZE25t7JN3QpmfRiGVHs J7ppaGFcYxys1gs4x5K5eU1BZcyBSb81v5s4HjPMkrfIuhBBfzIEAaC3J6VNK6Dyr8AE 1kSIW9ZrQTN8byU1tiaRRKC/BvlvDIgy8+EDqfA51RrxNE0D+G/rbFuxDzNqRm+I7FJO y+cvtJ7MF7Q03q1/79n17P50KF3RpyDs1X+Uywgh1yrhbst1xBIamD8Lb9COGQH9hl5Z 0KJds00pCdkpVaS93wi8m8LlvzdqaoXCUzIwrO0iuuJbnV9r5hcFpP+79YjFvL/lsfJ8 ou4A== X-Gm-Message-State: ALoCoQlnyYQKktTfQjnoz3wo8cU32e2juIWMff2ilDdUBwZvmwvT8XMnOTfJP/QhRO13S++9t1AOl2SA5G2v7S8uLOVwZMaxnQ== X-Received: by 10.25.21.208 with SMTP id 77mr3968853lfv.96.1452886026995; Fri, 15 Jan 2016 11:27:06 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id 140sm1508603lfz.21.2016.01.15.11.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 11:27:06 -0800 (PST) From: Anders Roxell To: bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, khilman@kernel.org, Anders Roxell Subject: [PATCH 8/9] drivers/cpuidle: coupled: fix warning cpuidle_coupled_lock Date: Fri, 15 Jan 2016 20:21:12 +0100 Message-Id: <1452885673-30891-9-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> References: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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); /*