From patchwork Fri May 18 20:06:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10412041 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 9F4A26031B for ; Fri, 18 May 2018 20:08:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90A1F28802 for ; Fri, 18 May 2018 20:08:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85555288A6; Fri, 18 May 2018 20:08:21 +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 3DCFB28802 for ; Fri, 18 May 2018 20:08:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752405AbeERUHa (ORCPT ); Fri, 18 May 2018 16:07:30 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34343 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752374AbeERUH2 (ORCPT ); Fri, 18 May 2018 16:07:28 -0400 Received: by mail-lf0-f66.google.com with SMTP id x145-v6so3656601lff.1; 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=5cH7W0NXhq3ZidYG1GxTeL1Yr1v6NahQJhxU4i+7szo=; b=CL1wVrGMel2c1CZaNPxfZMkRE7pyqIEd4vEo1ekwgtqvx5sIU4GSfgteDTdGyXjTXV AjDW6zbpTeOSBFEI59mTX2BnU7Wt/P1zixe/Ak32+OpwuGDVPHxYEvNJvVYwnJGclcy4 yDJzAn4iYp8INLbm0AlM+PRmLFIDnzqxxRygV+cUBhWe+KKlRxA90AzfaxOBVkaptCOR c/IJIWemFps0gETaCZrIrUthz7IyhlmGtFsQmQNk19cjXHj1q/LldTq4rZ6f8snLWqVj tfaotAvdM5CYLpb1JB3Y4qjBRvNrLVz+brAlrAURtPSLK/vBwzrivPdjmwh2FetKv0qy EQ/w== 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=5cH7W0NXhq3ZidYG1GxTeL1Yr1v6NahQJhxU4i+7szo=; b=b2gVmQTYEajka2YtP8wxp6/tZIXcLd6PvxhK5qlpaB96T1WjM4K0+ardqkZVZPvQK7 NfSZ4BLG/LWaT6+0zX8X5Siir4nO4Wmc3oGQq59Mr8yi/ITUk7BDPMfiFRZKq/oXcdv7 XudruDflSearo1sqqEARB6LGoSJrOrG/Nax/ldmVFP9/LkIRuuVRwBit3tprm4CHn/U8 5tt7b/kPQOgxDNonQu2yAMOYtwwnt9PH9SAadY7dGReAnI9d0TaqnSKcvgnKe/mutKfb 1Oa8o+e2ThPvrgl1qiznvkMuysQjnmNUYGHg4WkBiWY45O5FV/pkhNeps13QAUwRyxGH BqIA== X-Gm-Message-State: ALKqPweI+cvuS0CJ8XE1HGmC1Io1DfVbjPggpv8uvN1IQPAaSVkGGtfQ pM+BH7ZFPJM9Fs/dMTW45L4= X-Google-Smtp-Source: AB8JxZpQWyow3dx2Cf2EU3cz49a2+1SPYnnvC3yhvwjqS+FE9B/LGQkBD5OYm1fYYw3th5FNeYfBIg== X-Received: by 2002:a2e:954b:: with SMTP id t11-v6mr6912659ljh.138.1526674045733; Fri, 18 May 2018 13:07:25 -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.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 13:07:23 -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 07/11] cpufreq: tegra20: Remove unnecessary parentheses Date: Fri, 18 May 2018 23:06:38 +0300 Message-Id: <20180518200642.24815-8-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 unnecessary parentheses as suggested by the checkpatch script. Signed-off-by: Dmitry Osipenko Acked-by: Thierry Reding Acked-by: Viresh Kumar --- 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 df25e350c8e6..4b85a6733533 100644 --- a/drivers/cpufreq/tegra20-cpufreq.c +++ b/drivers/cpufreq/tegra20-cpufreq.c @@ -50,7 +50,7 @@ static unsigned int tegra_get_intermediate(struct cpufreq_policy *policy, * - we are already at it, i.e. policy->cur == ifreq * - index corresponds to ifreq */ - if ((freq_table[index].frequency == ifreq) || (policy->cur == ifreq)) + if (freq_table[index].frequency == ifreq || policy->cur == ifreq) return 0; return ifreq;