Message ID | 20191123132727.30151-17-yamada.masahiro@socionext.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp736169ilf; Sat, 23 Nov 2019 05:28:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwEpqESbpj9D00EpUaL0ZcPwcRBwodZxYE5pGbUkDVOx7Tm2eWNQQLt3C4WAoattzjZ5z6z X-Received: by 2002:aa7:de87:: with SMTP id j7mr7014099edv.169.1574515716237; Sat, 23 Nov 2019 05:28:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574515716; cv=none; d=google.com; s=arc-20160816; b=VMaCqLAG1DZ7DUX4RWg7tdEeE2YdFGiDoZ9EllcIDXAq9Z4mHcQDqdOrKy/PrTTV9x Z57GVNKk2tjQ3/iHzmGfj9ccQNqlztsLcUKYW9Uyo80LtNbpyMw3Yl72rkrHiM1t7Hwh kH/UtbyOYEis/MIjNlvfTzlGRdMcgOEqq8MkStKF9N05WZb+DOvT3KlBDGD26WHT2tqo F3nx6CXLvyZ725MiUVBU61dWmoltl+YrtT64vlmCUgZ3eAZl5mt+y0YTmgM9XWplcCdh 8wOaCxi4c8Wlbg/Cai+5dPRl2kLMbn+8UlL1FKDepusPSPF/NhKTZBCZ3GJUlj5Pl13Z laQA== 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=luGOrRAMG4Y9tsglVetzZHHjl9Wj2M3UbgJuHFlQLIw=; b=xCriJyxQxQrJTAXfgdXWxLgfLtjD25IZqSKZizuIYSP2XWGYbh3ubVOm1vnjz/4t0Z ILawhkM6qKk7UeldezfkwfG/WSlW7y8cdkDiO6EyaWUHUfyWwOr0XE7IQaS4XZzG7i/y k7BA+oz1O484xROU8mKB1u4fdzILtpZmtXkIEfl9U7X7fVzxAYIC/xhxxurexlD9Xidy NvJK9kkqo9xRzV+uiuUVg/dhocRdC4pPesCVHQM2cChJdDu9jXoaaaa6i+/OSKk1qCMp WgoT0q6JeNCArISXVyof/B+ZX7xYuNRjktKkMxoIpxIG1ysXhM8iMyUGgmqv+T9KF1mt X7pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jMRMBPFr; 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 h3si994159edf.405.2019.11.23.05.28.36; Sat, 23 Nov 2019 05:28:36 -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=jMRMBPFr; 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 S1726875AbfKWN2A (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Sat, 23 Nov 2019 08:28:00 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:39541 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbfKWN17 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 23 Nov 2019 08:27:59 -0500 Received: from grover.flets-west.jp (softbank126093102113.bbtec.net [126.93.102.113]) (authenticated) by conuserg-10.nifty.com with ESMTP id xANDRbkp000733; Sat, 23 Nov 2019 22:27:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com xANDRbkp000733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1574515666; bh=luGOrRAMG4Y9tsglVetzZHHjl9Wj2M3UbgJuHFlQLIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jMRMBPFrPMoV8uQ78+xnQ35IvxVtduNrPhP2JftuIYO2wGY19bLTLM8/BXv6Kitjj W8x8Q80hpb4vGpG3kIkjQcZ2hop9KiCCKDk+JF0ALU3C+YOG9B3cp3+ZTTNv9LSMFk jQqfBwdJgzMZCz6IUzVjp99fJQxIAWw4J21QSOlCDHdABx6tXus5NlkTbKfFAq6WPy I4ubZdVGYezT1WzhxXHFmoF+EIXRem6Yz6cesRgwkZn+8QI3xYGLtEle9EhtrQnVXq WvKg1JZIZM8L2u1TLCOY6AMhaw7g8+GM8HjPCllzCx4D+pXUDCwnKeGN41P9jJSnum OAw6nhJ4E7RvA== 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 16/16] scripts/kallsyms: remove redundant initializers Date: Sat, 23 Nov 2019 22:27:27 +0900 Message-Id: <20191123132727.30151-17-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191123132727.30151-1-yamada.masahiro@socionext.com> References: <20191123132727.30151-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 22ff206e2533..803df71e5069 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> --- scripts/kallsyms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1