mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
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: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
parent
bea5b74504
commit
a7b00a1811
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user