aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kallsyms.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-24 01:04:44 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-11-25 21:07:05 +0900
commit831362fc317ae60413879deacdcc9617d9ce9e20 (patch)
tree72897f73f84a9fdcda682152b5123fef9838085b /scripts/kallsyms.c
parentscripts/kallsyms: put check_symbol_range() calls close together (diff)
downloadlinux-dev-831362fc317ae60413879deacdcc9617d9ce9e20.tar.xz
linux-dev-831362fc317ae60413879deacdcc9617d9ce9e20.zip
scripts/kallsyms: remove redundant initializers
These are set to zero without the explicit initializers. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to '')
-rw-r--r--scripts/kallsyms.c6
1 files 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];