Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1910904imm; Thu, 24 May 2018 02:47:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqhu0ISrwqV9oQCZkqIgUJSOl4vCvShoRric3rl7TeaEbqBX17wfp/xr9cO2SRvu/Y8PEZq X-Received: by 2002:a17:902:b946:: with SMTP id h6-v6mr6790965pls.3.1527155244699; Thu, 24 May 2018 02:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527155244; cv=none; d=google.com; s=arc-20160816; b=Hu2Es9n3kskoNF1MwQZ+rrWiJ8kKZdjtt4aroUr6RaTYVXu7GbkI9QMCChcVqikj9a mqEbophHkIPEbC2r/aXlXTTmgjgAEGG7BafgHJsfmYWYyw/5Gcg961CE8zE7CJZN9Iy1 X/NgzbqnK/D53pi7cM4dPHEWB3O8uWyKK58mAIC5tYKoK0r6h9ourUVUAkZD3QCVIrTj WuURbQasqCFB+Uvwj9h5mW+PH+L9hx9Y5ucitqrnKCH2aFpYztzqprHohcdTZtmBPubx q/QyLXxMzn3ft/MBDQDQooLW6P2Z/qSXOpV6fWKSQ0e9TjNDRXumF08qlVVY7pzXFTK2 1H2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Cv/ATLCSE+EOQtyMhpltNczKRf+lnOoQOnt9ZTSqFjc=; b=fSzLwg4xXlLCDNBJcIzBkiEio7ter4rZUy8ZtYSHgTwnzyJC8oaeaidB80UqODsGbb EWYioq/PYAeHLO9cZtWCZJl1MollmofHDDCIW3ZfuxXlL2jQAh/w7lk/UnS+G7ycB3O2 EOl3ZUYFizZQAID9cEPyT3LAjE9F9hB2pLSXRzn6quJN7dR/ohR5JZHIE84bGk1fDNJb lhdOCHF3ny5mSrqMBERsWg4cbKjf9/BSkZG6qmUjAVMKonJw0/WOpO3vUCiY37hXTvgL Qs2jJ0DbOyDwQooTYjmrx8EAyVAclbVztREo6JWZURKvdXTpHEpF1VGttPNgyGrnrhCM +G9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dYpcWqTK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12-v6si16158962pgn.563.2018.05.24.02.47.09; Thu, 24 May 2018 02:47:24 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=dYpcWqTK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966853AbeEXJp4 (ORCPT + 99 others); Thu, 24 May 2018 05:45:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:56960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966818AbeEXJps (ORCPT ); Thu, 24 May 2018 05:45:48 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 998DA208C4; Thu, 24 May 2018 09:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155148; bh=As2u9aiIszJCjikTMyPz1DmKbNp5AMAXS1SkzF1jRvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dYpcWqTK8+Z8QIRcsC8O72XJifmFG4RIoWEXkCb6f3erCbhtXcvvYYcsq0R2OlmtT l56ss3C5JqtJgvpBAERpa69f67TvZDimcJwjPX8aSz+pC5i+N9uP8RyZ2Eqsmfms7G yEA+4PAlvWHvutJM6q48FkaZFjZYVJigEVtbhqJI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anders Roxell , "Rafael J. Wysocki" , Mike Galbraith Subject: [PATCH 4.4 45/92] cpuidle: coupled: remove unused define cpuidle_coupled_lock Date: Thu, 24 May 2018 11:38:22 +0200 Message-Id: <20180524093203.670229755@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093159.286472249@linuxfoundation.org> References: <20180524093159.286472249@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Anders Roxell commit 75274b33e779ae40a750bcb4bd0b07c4dfef4746 upstream. 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Mike Galbraith Signed-off-by: Greg Kroah-Hartman --- drivers/cpuidle/coupled.c | 1 - 1 file changed, 1 deletion(-) --- 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); /*