From patchwork Thu May 17 18:00:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10407483 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 550D4602C2 for ; Thu, 17 May 2018 18:02:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42FE32864A for ; Thu, 17 May 2018 18:02:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 378812868C; Thu, 17 May 2018 18:02:26 +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 B193C2864A for ; Thu, 17 May 2018 18:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752491AbeEQSCN (ORCPT ); Thu, 17 May 2018 14:02:13 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:43179 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752312AbeEQSBW (ORCPT ); Thu, 17 May 2018 14:01:22 -0400 Received: by mail-lf0-f66.google.com with SMTP id n18-v6so10049228lfh.10; Thu, 17 May 2018 11:01:21 -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=/oNknW3MkLLCHFUhdGSCU7GAfmYxw51yW8isvECuJ/k=; b=TPRPbbAH2G0D8Nlhrtd1jMhxNW2vk0+zWSL/ZcXPpOqZhRVlKTdilhXCVp+YUQ+dnc 384QlHBoFsOa0RHyCSWAVFetzvixjz5rTsWBnIQ4wzhJbiF0k7bKYHa5zLLVvD/y5tFr QYZApen3UsrziNX/Ct2RpNnWEQFxm7auTBKy5yPoX//ujwsq/3bAquCjauheM3GTeojQ Ze+8zss+NHMX8pTZcLf52p50SxGBvuIKX1ihnqCUDrI5btjCNom4bzgee/llfOsXnYEh byWgPsFC69+2yqYALL4fU7Jjc9EAacpIT1tUCRpCdk6ZHVCGlmpR5RHjoNmkbJdJhETh JElA== 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=/oNknW3MkLLCHFUhdGSCU7GAfmYxw51yW8isvECuJ/k=; b=uGB1N1tx5XK1fScqnYOKXxXXGxRIk4yWdSoXzqeuQNngf/Ak4UqtbnpznrdBgF9Sjn T8AdDbV4tvktmSgopCyGL8kf+TTa3niQzTPIrizmE9V0Q2H8f5fhuksxILmVwvLKVfhW +Zgl0e0Jp3DVywnxcOZ8gwTBNbEwk3BLpR14BcvdMJG/g8Uf2WTEQbk7jBcGImiKbUBf ij7C0CxH5vSUJBOYKmdkRAAacghfsb/6MZtNIQoWurdkfqwwBKwnzE3MPk2ySEzZF/r2 TWt78UedBWgnHHuFM0V3ZRGr4R6e3DjrUZF66sfX1yjWvU9nhBrLm/8NA5hP8fUjc/SJ Ic9w== X-Gm-Message-State: ALKqPwfjh841AUpobNnOc+xif36k34fGYLXSHJgCbe3ekZbBYFtDjUgW K7Ziu0RImYLu4kTi55g38Kk= X-Google-Smtp-Source: AB8JxZpaE1SCPQJd6u2Y0iXt1PcItA8Vb7uZRDtaVo9hYvrS8lb1ATAwaL5SKH2ByK+Bw5fyrV0NPA== X-Received: by 2002:a2e:638f:: with SMTP id s15-v6mr3734617lje.78.1526580080360; Thu, 17 May 2018 11:01:20 -0700 (PDT) Received: from localhost.localdomain ([109.252.91.232]) by smtp.gmail.com with ESMTPSA id g71-v6sm1362211lfh.85.2018.05.17.11.01.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 11:01:19 -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 v1 08/11] cpufreq: tegra20: Remove unneeded variable initialization Date: Thu, 17 May 2018 21:00:53 +0300 Message-Id: <20180517180056.13336-9-digetx@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517180056.13336-1-digetx@gmail.com> References: <20180517180056.13336-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 797c61c74b65..c0a7b5a78aa6 100644 --- a/drivers/cpufreq/tegra20-cpufreq.c +++ b/drivers/cpufreq/tegra20-cpufreq.c @@ -84,7 +84,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