Message ID | 20191123160444.11251-17-yamada.masahiro@socionext.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp886051ilf; Sat, 23 Nov 2019 08:05:08 -0800 (PST) X-Google-Smtp-Source: APXvYqydEPZHWWva+EAayxtVTd8dURR7qGphezQxpdxZMsqH+deoAcwVpyHLAiR3grfPSK/U4Zao X-Received: by 2002:aa7:c4c8:: with SMTP id p8mr7787408edr.121.1574525108346; Sat, 23 Nov 2019 08:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574525108; cv=none; d=google.com; s=arc-20160816; b=qv5BUU1xUylHvj8Bo39/MV9TW8AcSgglKs9YIkt3Dun5+lpXGrDgn6wCQuO7YYN26X MhDrLOxutpNjm8nCP/cCi3Plf052v4Pjlk3cZu8u6EBEV34q4ukPFH/lx8g1IqH5JKB+ Dq713cdSjv9r7PToQytvEVL7UIAYA0GXgxwWVNQa7OC7045ac764YeprtJSrSKkg1uWz XksZET5jeEVIN0FXf5IS6MC84uVe0R5SaO09/uxdrmZtRiaotySxZaV8OVM8yoK+sqKP lTlD0wwZrUPjt+2Ux8bTvHYrzfluSEYiFOHLhc0out/vwM3oIaTyTSyr6v86IYc901Sl V1Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=bQe/3Y9Yl+Kq9fBfAZOWGkCZwUqZVs1ZvuNfALS8C3M=; b=uH3TZvcEKsY+d3M1YsvDQ85ommhqp4b7vHxzBO18lcp9w2AIVP1GxZjCPmkS4Jm7MB KMSAPj0ZRTeDHwRCoUW9ADdlOSmAhMUCRlemS3WUzsVBa52hqU8nHhztkAIbDABubd3A 4OHpUewiFL4dxZFla0RZ1PEHGPTzYD6cchmP18PfF5FOygSlMcQ8bcHlD6i3H/X6AGvJ hSxCuElqK+QcUoiCxo2PWEULkmtkijyJ2UawLGBWTBjpOQuEF07A3jbH0Qsmu+X5IFFo cgyYYm1DEExfg7Di14oPbmg2SFLCCSzcgoSnLTU2iuPF4mM0EHKDkOqB+2ovKMzTaHPK GVVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="cjUQ/FkK"; 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 Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si1068885eds.39.2019.11.23.08.05.08; Sat, 23 Nov 2019 08:05:08 -0800 (PST) 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=@nifty.com header.s=dec2015msa header.b="cjUQ/FkK"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727020AbfKWQFD (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Sat, 23 Nov 2019 11:05:03 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:49453 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726775AbfKWQFB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 23 Nov 2019 11:05:01 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-12.nifty.com with ESMTP id xANG4l5X019106; Sun, 24 Nov 2019 01:04:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com xANG4l5X019106 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1574525095; bh=bQe/3Y9Yl+Kq9fBfAZOWGkCZwUqZVs1ZvuNfALS8C3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cjUQ/FkK+GKaB9FQDS2oQmQIFqTtwvMn+XU1w5kuJ6vuHntQh4WviKuCipgVTOF6q NzeW7B9KsE0GmU8xIkFvUv7XNpcbQjMUsYsSfZrjwBqQDhXsoltaIx3fE8NjBUvQCB sas9D0BQCiU/9W9yDBKqbz3tRMJJB8aQQ787SEfNd7jHDKAkSKQeamVl3eg9vyhgVh EXrv+fluli/i+h6ys9DnIzcLUfEriwp/nsqUP0Au24yHYt+ywR05MPfG1yB0JbDXqd bzpFWevKawuhs8VpksT8PQ19fCGK3G7WWQ9RyaYaYwnpo7oSaH3mLUD3o3eP5pBL+L hmKdJHq1iwlSA== X-Nifty-SrcIP: [126.93.102.113] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <yamada.masahiro@socionext.com>, linux-kernel@vger.kernel.org Subject: [PATCH v2 16/16] scripts/kallsyms: remove redundant initializers Date: Sun, 24 Nov 2019 01:04:44 +0900 Message-Id: <20191123160444.11251-17-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191123160444.11251-1-yamada.masahiro@socionext.com> References: <20191123160444.11251-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
scripts/kallsyms: various cleanups and optimizations
|
expand
|
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index b9b1a4cf1c65..fb55f262f42d 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -57,9 +57,9 @@ static struct addr_range percpu_range = { static struct sym_entry *table; static unsigned int table_size, table_cnt; -static int all_symbols = 0; -static int absolute_percpu = 0; -static int base_relative = 0; +static int all_symbols; +static int absolute_percpu; +static int base_relative; static int token_profit[0x10000];
These are set to zero without the explicit initializers. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- Changes in v2: None scripts/kallsyms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1