From patchwork Fri May 18 20:06:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10412053 X-Patchwork-Delegate: rjw@sisk.pl 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 870AC6031B for ; Fri, 18 May 2018 20:09:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7357D28AC5 for ; Fri, 18 May 2018 20:09:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67D1E28ACB; Fri, 18 May 2018 20:09:43 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 DBE0728AC5 for ; Fri, 18 May 2018 20:09:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752525AbeERUIi (ORCPT ); Fri, 18 May 2018 16:08:38 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:44796 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752386AbeERUH2 (ORCPT ); Fri, 18 May 2018 16:07:28 -0400 Received: by mail-lf0-f66.google.com with SMTP id h197-v6so15647200lfg.11; Fri, 18 May 2018 13:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YfFnzQrqUqSMRimojtY/Cp7ewBGW+CwlDr2Na3KuSVk=; b=G2wwdXxIu0FBT3MmCcRvCTyvF71KZc4spV3me8yGnqZimUpukSUAez5YzMQGB0giS8 WzsQDJKtBQbOjDOPYXihvQxNQpc7qrHw+G4t7ryCH55uWL8+F7eTz8my5Dw2ctTUPK0X HoqVeUOx4MasmUfNZMgztTUsUgD3zSoHdcQ4lEvZtFwNfEyPTjzRCIDk1RFKJFn9uDrP hKyb6df0kzkSuEanYBOR65v0aM/qDudX+qkuE+6XumzcgKrUSPWKzSzir0UsK47HS9ez Ffpuk8m13deLwmBYLIop+eXCU2EgsjCGk+NCVJ3OoE5ewL2h9T3S7IGVr65hRC6ZnWs7 L6Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YfFnzQrqUqSMRimojtY/Cp7ewBGW+CwlDr2Na3KuSVk=; b=oOi5Tc0nCQMTxkvFbPtDPhngQxXC3EUyTMzcQ0kRlEulcidK9kblIcE5BaCnWd6EVz 4v7TV+alU1iYx6m0Ez7IMq7fDm77T6yk2tTEG/Rhwz3yvsll/Y9mFp333tB6Xyh/A8Lk ThZZ1CbUvDMDbGbkwMXnL1i2v9TU9IA5P3RK42CkGHy4hWGlbtp8Trg+S9NwMj8FuDBN c4uRh8TopOiC+zH3oAF0IUEEo0bABQ6c8hMP9FxtUzGcoL8dhq3lzxOKbxmRdFQfFph9 I7fuxGbWrKlJojIP5OQVEBDzO5AugarMVNVH90ocUgzPPiI8DThPxiTu9jRKWb0dzoNF tpwQ== X-Gm-Message-State: ALKqPwdbXi05LNq1bbhmFfFPqX9zbXd4wYiZF+VbGFh7IazPy1yipGmk uZ4GsMKFpTdLJx6R1+2wmCE= X-Google-Smtp-Source: AB8JxZoc+rxXRPaGbYV2+CHWYzKZDmu+Jl0VkSn/JYIgXlDXS3nS1cb77fuhN1vMY9UNkBE7zFqULQ== X-Received: by 2002:a2e:918d:: with SMTP id f13-v6mr6482244ljg.24.1526674046941; Fri, 18 May 2018 13:07:26 -0700 (PDT) Received: from localhost.localdomain ([109.252.91.60]) by smtp.gmail.com with ESMTPSA id z132-v6sm2026987lfd.45.2018.05.18.13.07.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 13:07:26 -0700 (PDT) From: Dmitry Osipenko To: "Rafael J. Wysocki" , Viresh Kumar , Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [PATCH v2 08/11] cpufreq: tegra20: Remove unneeded variable initialization Date: Fri, 18 May 2018 23:06:39 +0300 Message-Id: <20180518200642.24815-9-digetx@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518200642.24815-1-digetx@gmail.com> References: <20180518200642.24815-1-digetx@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unneeded variable initialization solely for consistency. Signed-off-by: Dmitry Osipenko Acked-by: Viresh Kumar Acked-by: Thierry Reding --- drivers/cpufreq/tegra20-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/tegra20-cpufreq.c b/drivers/cpufreq/tegra20-cpufreq.c index 4b85a6733533..36075aee2ff2 100644 --- a/drivers/cpufreq/tegra20-cpufreq.c +++ b/drivers/cpufreq/tegra20-cpufreq.c @@ -86,7 +86,7 @@ static int tegra_target(struct cpufreq_policy *policy, unsigned int index) { unsigned long rate = freq_table[index].frequency; unsigned int ifreq = clk_get_rate(pll_p_clk) / 1000; - int ret = 0; + int ret; /* * target freq == pll_p, don't need to take extra reference to pll_x_clk