Commit a7b00a18 authored by Masahiro Yamada's avatar Masahiro Yamada

scripts/kallsyms: remove redundant code for omitting U and N

The symbol types 'U' and 'N' are already filtered out by the following
line in scripts/mksysmap:

    -e ' [aNUw] '
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
parent bea5b745
...@@ -178,10 +178,7 @@ static bool is_ignored_symbol(const char *name, char type) ...@@ -178,10 +178,7 @@ static bool is_ignored_symbol(const char *name, char type)
return true; return true;
} }
if (type == 'U' || type == 'u') if (type == 'u' || type == 'n')
return true;
/* exclude debugging symbols */
if (type == 'N' || type == 'n')
return true; return true;
if (toupper(type) == 'A') { if (toupper(type) == 'A') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment