From patchwork Fri Jan 15 19:21:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59888 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp739798lbb; Fri, 15 Jan 2016 11:27:13 -0800 (PST) X-Received: by 10.66.235.36 with SMTP id uj4mr17593979pac.85.1452886027239; Fri, 15 Jan 2016 11:27:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m86si18218205pfi.229.2016.01.15.11.27.07; Fri, 15 Jan 2016 11:27:07 -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 S1753143AbcAOT1F (ORCPT + 4 others); Fri, 15 Jan 2016 14:27:05 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:36138 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751874AbcAOT1E (ORCPT ); Fri, 15 Jan 2016 14:27:04 -0500 Received: by mail-lb0-f181.google.com with SMTP id oh2so320841532lbb.3 for ; Fri, 15 Jan 2016 11:27:03 -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=hJ/CKJ4Sj/XsWlo62uP3YvsnTEd9HD53hjN19NcSSmI=; b=bTXMkPjRkkEAbGL/U5LMQtgCjjHkn9PwqiB2Zie9SepSv67RBysWMKR+T4Jpt1AXmu GaoQsBQ+vlgxu4MkpTkXgee/ZBR10f/heI7HdHyV85y7sv6I8SROb2Yyr95ScP+y9/Hg 6oayvHSMjcUtBOqWAyW4CPdUlVrqzwqcl87lA= 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=hJ/CKJ4Sj/XsWlo62uP3YvsnTEd9HD53hjN19NcSSmI=; b=PmISgAJyejxGoKGr/a+WiVxtTtDnQTrU8+1yfyCAINEPLtLNpdnCPVIp1kR1DeNfHj 8N58rPV/dHRVf+I5i9UxPyRqZnyZ4hw3+OmTPxmpcTY2+hyQhurRHrXme2BNmCMcQiK3 b7oiAAO43PBjXtnCts+mOkLcDjkwCE8Tg3HWiZrt2evhWAO0mbSAthATozAfLEDWr6er gnNWyIyomdv/LzPPmVVM4DvXCMx9rA+7FcHPkTcLg2pT95Cu+IbxvLKL+3Fl9UeAXG6J vtX6iku36iV5KyZ4c+kE+Ni1hETs7W3+cnw+RsF1DOHYqyVuO5ocx/044BP4ES+I80ds wicg== X-Gm-Message-State: ALoCoQnCjfFrrtXO+qL+gDlmBNRRxmM9//Fph8CuKjIbbUew7d+Q88VWDCm4w2VYE0JaTIzGHo91UxGiswHXMQOlZ2pRa54XBw== X-Received: by 10.112.161.10 with SMTP id xo10mr3886603lbb.131.1452886023001; Fri, 15 Jan 2016 11:27:03 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id m21sm1540097lfe.29.2016.01.15.11.27.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 11:27:02 -0800 (PST) From: Anders Roxell To: bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, khilman@kernel.org, Anders Roxell Subject: [PATCH 5/9] drivers/clocksource: timer-atmel-st: fix unused var 'ret' Date: Fri, 15 Jan 2016 20:21:09 +0100 Message-Id: <1452885673-30891-6-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 the at91_dt_defconfig and this caused a compilation warning without this fix: ../drivers/clocksource/timer-atmel-st.c:153:6: warning: unused variable 'irq' [-Wunused-variable] Signed-off-by: Anders Roxell --- drivers/clocksource/timer-atmel-st.c | 2 +- 1 file changed, 1 insertion(+), 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/clocksource/timer-atmel-st.c b/drivers/clocksource/timer-atmel-st.c index b6f4aa6..ea4d8e5 100644 --- a/drivers/clocksource/timer-atmel-st.c +++ b/drivers/clocksource/timer-atmel-st.c @@ -150,7 +150,7 @@ static int clkevt32k_set_oneshot(struct clock_event_device *dev) static int clkevt32k_set_periodic(struct clock_event_device *dev) { - int irq, ret; + int ret; clkdev32k_disable_and_flush_irq();