Skip to content
Snippets Groups Projects
Commit 52a849ed authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kallsyms: remove unneeded memset() calls


Global variables in the .bss section are zeroed out before the program
starts to run.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent f43e9daa
No related merge requests found
......@@ -596,9 +596,6 @@ static void insert_real_symbols_in_table(void)
{
unsigned int i, j, c;
memset(best_table, 0, sizeof(best_table));
memset(best_table_len, 0, sizeof(best_table_len));
for (i = 0; i < table_cnt; i++) {
for (j = 0; j < table[i].len; j++) {
c = table[i].sym[j];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment