Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1161148ybk; Wed, 20 May 2020 23:36:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy47fU8VjOJYNAjK0zFbSoKqOMHLgDdHTHsiblSThwQEU3p5LzkkVb9fGQw1dBoMSligQ76 X-Received: by 2002:a17:906:b843:: with SMTP id ga3mr2131338ejb.340.1590043005688; Wed, 20 May 2020 23:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590043005; cv=none; d=google.com; s=arc-20160816; b=OcaWJvwItRe5JwOUzGufcHMQnpucjufTCAyN69pMzFAJrMvdC4HRyE1UyLkJIYBee6 dSGM/2mwN54KrP8fyovrifvL4WYYBE/MIugKlUvDgZYsEKvvcFXkj3pvpLlX6qIuDZmx xi19mgk6xysClbstP+Az8MY8b4al+gLn7q7e8HuGlmeequfx5wIoIj+rrGu3O8u61hLi xwJhMgRW0J6lxrtM2IpvC/QXtilhkjAFrAcIvGZc+Vwt7q1FVtxvJFD8AycDCKgwI770 xF6n8ETzgoxrC0BtOD4wkASTP28c0ubbZtkwTp7agXASOq7idoYshMYg7syImUUZ1NDr tzyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=FVbA5dBwEiJ8DtEWOEXeBjdCxxgPYSxSAEVadSoOHkk=; b=fvtw5Lk3aJn6kP6GlEUTacq9jLOAp6LP1tXK+YxPWlC0c83ARPQLm2+ygVf2kMPxdy QZ8mPgjh3OOh3np1kXwa97eNCoHDefoVt355rDuQgnTAQ7DZyTP2EoUwnK7taHES3sLE 7BXioDgp0UA5hFsSvt+DrOAieaeuSmUOxAnturVUrw/JMxiFXlj+WlbXA1905Ff0uOfX 6jrd7Y0o8q1aFRbJfs2loPwuw23MU7anT8rlIJCo3WHyI3nC7xLW2EnHq7+K5KSgEYEo RRD7wHqzo3mnV8Dj4bK6jalcLakaHZA8Asn3qAtftk16eTYJxOT4SiDBvSH7bzvjk4sZ Id1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si2832658eja.307.2020.05.20.23.36.22; Wed, 20 May 2020 23:36:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728237AbgEUGcn (ORCPT + 99 others); Thu, 21 May 2020 02:32:43 -0400 Received: from smtp25.cstnet.cn ([159.226.251.25]:57228 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726506AbgEUGcm (ORCPT ); Thu, 21 May 2020 02:32:42 -0400 Received: from localhost.localdomain (unknown [159.226.5.100]) by APP-05 (Coremail) with SMTP id zQCowAAniLF8IMZeH_FaAw--.34692S2; Thu, 21 May 2020 14:32:29 +0800 (CST) From: Xu Wang To: dhowells@redhat.com, dwmw2@infradead.org, keyrings@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] scrpits: Remove unneeded assignment parentheses Date: Thu, 21 May 2020 06:32:26 +0000 Message-Id: <20200521063226.7434-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: zQCowAAniLF8IMZeH_FaAw--.34692S2 X-Coremail-Antispam: 1UD129KBjvdXoW7GF1fAFy5tr4xArW8urW3Wrg_yoWDArcEkr Z7KF1kXa4DX3yYyr1xXrs5Arn3Zw45JrWfCw1IgFWUZ3yUCan5X3Z2krn8Zr43ArW8CFWv v3s2qrW8KayxWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb2kYjsxI4VWkCwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xv F2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r 4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY02Avz4vE14v_GF1l42xK 82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGw C20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48J MIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMI IF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvE x4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU0oE_tUUUUU== X-Originating-IP: [159.226.5.100] X-CM-SenderInfo: pyxotu46lvutnvoduhdfq/1tbiCwEDA1z4jTqeNQAAsy Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unneeded assignment parentheses. Signed-off-by: Xu Wang --- scripts/extract-cert.c | 2 +- scripts/sign-file.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/extract-cert.c b/scripts/extract-cert.c index b071bf476fea..8005911926b8 100644 --- a/scripts/extract-cert.c +++ b/scripts/extract-cert.c @@ -61,7 +61,7 @@ static void drain_openssl_errors(void) #define ERR(cond, fmt, ...) \ do { \ - bool __cond = (cond); \ + bool __cond = cond; \ display_openssl_errors(__LINE__); \ if (__cond) { \ err(1, fmt, ## __VA_ARGS__); \ diff --git a/scripts/sign-file.c b/scripts/sign-file.c index fbd34b8e8f57..9ea08b07a0aa 100644 --- a/scripts/sign-file.c +++ b/scripts/sign-file.c @@ -104,7 +104,7 @@ static void drain_openssl_errors(void) #define ERR(cond, fmt, ...) \ do { \ - bool __cond = (cond); \ + bool __cond = cond; \ display_openssl_errors(__LINE__); \ if (__cond) { \ err(1, fmt, ## __VA_ARGS__); \ -- 2.17.1