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: 69508 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1950189qgf; Tue, 7 Jun 2016 05:26:41 -0700 (PDT) X-Received: by 10.107.143.68 with SMTP id r65mr29077094iod.54.1465302401374; Tue, 07 Jun 2016 05:26:41 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z67si27053397pfz.64.2016.06.07.05.26.41; Tue, 07 Jun 2016 05:26:41 -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=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755125AbcFGM0h (ORCPT + 31 others); Tue, 7 Jun 2016 08:26:37 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:36606 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755002AbcFGM0b (ORCPT ); Tue, 7 Jun 2016 08:26:31 -0400 Received: by mail-wm0-f41.google.com with SMTP id n184so134696672wmn.1 for ; Tue, 07 Jun 2016 05:26:31 -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=YOFINTrp3UDwQb8yiWMPhWom6Wacf87eWpbJiRw/JQQn6TwiJyCEhy50q0OWyRc+UJ 0E4f7YZwqWc609rAz/aFwiQF6gQvdqBngMW+R5XuexgMEJoNJwL4WbZOekxozqexXQzm B5sRf30Zj0aEw1fvoUaO7MWV0T2VQrxyBvBzc4YqP7xK1buTArYtTwVpy29iTs+vAdYt NjA/8p7cUxHj9h6+VVuuasEbs3lU6lr7rqRIh0aliVYjxmY5t7NN2W7aDEqQzKnWS5sO vcN6vk++IIC0qD34DcZqUXx3HleVuULgc+VG/kzIaxX5Kfy+MD5AnMXkJF5TOo5yOqd1 YvQg== X-Gm-Message-State: ALyK8tLu1cet2W8GayBX+BHypcxQdjEzBQU8/23rlBNNxLGhYVdxH4ML8beLl28YTn6DKzfk 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/clk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.8.3 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; } /**