From patchwork Tue Jun 7 12:25:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9161055 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADA9060571 for ; Tue, 7 Jun 2016 12:27:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E8AF26861 for ; Tue, 7 Jun 2016 12:27:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92DD0281D2; Tue, 7 Jun 2016 12:27:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7163F26861 for ; Tue, 7 Jun 2016 12:27:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755073AbcFGM0d (ORCPT ); Tue, 7 Jun 2016 08:26:33 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36605 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754997AbcFGM0b (ORCPT ); Tue, 7 Jun 2016 08:26:31 -0400 Received: by mail-wm0-f54.google.com with SMTP id n184so134696668wmn.1 for ; Tue, 07 Jun 2016 05:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=PLe7ZxyTjtQzrZ4ZbJ+MWr8QgCb8KqMIoP7WINoc0b8=; b=N0/HvJfZ7A8tjfyauibgYzxW/iavkfWg1iqBVtRCb5cUj8QV44/dbEzzgqZWRUIJHb haP8WLwwNcjPDXAylhGkrT6YOibYL7fVxfJSywoYpYrPhiB/A2IHX/NFNiyY4mT0GVhH HKw3b2y7AMQMOA42UsoTeIZighzZgEXgDJ1JY= 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=PLe7ZxyTjtQzrZ4ZbJ+MWr8QgCb8KqMIoP7WINoc0b8=; b=VhsB2MgowaFpw0QIyGr+B0I7lV5ZsJD7lK2FIezDuhlNxoNd6GJPU8H61HPARniznP bv0XK8V2HXCZNqxhvDomGBvMYFcDb5ZJrkXmUcK5hS27xwa/mZV29tjLNoZnOyctO6Z2 XpHb44FlNkKc/GpqxN5LC7t2U/9L8xMY3o9vTFQMjrBhpGaeKQAUtsQQOTpT5A7EGaKb 1ZtXzbcFTlFb696GDx76/3Dq+bzPD20zd6F55qpgC9ahtiISCmUkYB3/j1HfPGLWOheq Z24nfkjHKnb/WPlnJEOoUf5wVCzRKNQMuFZwGTZgakfqjq45KMXP1acuXtQm/xDOqwYM 586Q== X-Gm-Message-State: ALyK8tI3qQQaYy5sIeU0iMr0eoyq0x0bgNQmW4FGpzMskXtW+dpY1b41EBGCr71SUkFhDkVt X-Received: by 10.28.215.148 with SMTP id o142mr2406861wmg.72.1465302390129; Tue, 07 Jun 2016 05:26:30 -0700 (PDT) Received: from localhost.localdomain (host81-129-171-215.range81-129.btcentralplus.com. [81.129.171.215]) by smtp.gmail.com with ESMTPSA id kd7sm25241956wjc.33.2016.06.07.05.26.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jun 2016 05:26:29 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, mturquette@baylibre.com, sboyd@codeaurora.org, linux-clk@vger.kernel.org, Lee Jones Subject: [PATCH 1/1] clk: Remove unused variable Date: Tue, 7 Jun 2016 13:25:02 +0100 Message-Id: <20160607122502.32168-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.8.3 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Lee Jones --- drivers/clk/clk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index d584004..8a815a1 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1501,7 +1501,6 @@ static int clk_core_set_rate_nolock(struct clk_core *core, { struct clk_core *top, *fail_clk; unsigned long rate = req_rate; - int ret = 0; if (!core) return 0; @@ -1532,7 +1531,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core, core->req_rate = req_rate; - return ret; + return 0; } /**