projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44270f
)
scripts/kallsyms: remove redundant initializers
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Sat, 23 Nov 2019 16:04:44 +0000
(
01:04
+0900)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Mon, 25 Nov 2019 12:07:05 +0000
(21:07 +0900)
These are set to zero without the explicit initializers.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kallsyms.c
patch
|
blob
|
history
diff --git
a/scripts/kallsyms.c
b/scripts/kallsyms.c
index b9b1a4cf1c65d901976d4c5ecfac19630b13d36f..fb55f262f42d6cee3f14475637b29d44028df97c 100644
(file)
--- 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];