Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp772806ybc; Sat, 23 Nov 2019 08:06:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxD5Avt63GvSKdyPvir8rxgo3I78bBqx2mCQuu3tVovSJLubAMiDBHI6Y4w+xEuUu2rsaEd X-Received: by 2002:a17:906:3ec2:: with SMTP id d2mr28702473ejj.251.1574525190734; Sat, 23 Nov 2019 08:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574525190; cv=none; d=google.com; s=arc-20160816; b=MYE2pogPEpMXDAq/zSF8RlTVWifR92pKHCunxYnT4MVHUtHeA/iJMyPPQdvsc2A+yz EeaXeOGQB2o+rzrcLfHk4dQ+un45Wuc3S73Lki0FP0tAszCXELOxpAs+jT7ajHbqtkTJ 9WilXYnIeLUvmIPMqK7Su8kxWgncUnnk3UaX3KJp627aozwG3FMHXxmAuT5tDG1U7F0v xc0DxWMOOf0bZkV10ZR5Z0ObpBeg8csjRqbdIbz13K+6aP3zPt0vQAJQ7i3iCH8t9b3i advx9l3oUDxZzW7wfKeGYXNLeijd+B4/Lb+1Kjt/FjKHGRfEN2LlMGPJpj8vweme8W3Q 6vTQ== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 35si1470344edj.185.2019.11.23.08.06.04; Sat, 23 Nov 2019 08:06:30 -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 S1727006AbfKWQFD (ORCPT + 99 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 ); 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 To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , 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: X-Mailing-List: linux-kernel@vger.kernel.org These are set to zero without the explicit initializers. Signed-off-by: Masahiro Yamada --- Changes in v2: None scripts/kallsyms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]; -- 2.17.1