History

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] '

Masahiro Yamada committed 3 years ago

Commit a7b00a11 parent bea5b741 file · +1 −4Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kallsyms.c+1−4
@@ -178,10 +178,7 @@ static bool is_ignored_symbol(const char *name, char type) · 177 unmodified lines
178 return true;178 return true;
179 }179 }
180 180
181 if (type == 'U' || type == 'u')181 if (type == 'u' || type == 'n')
182 return true;
183 /* exclude debugging symbols */
184 if (type == 'N' || type == 'n')
185 return true;182 return true;
186 183
187 if (toupper(type) == 'A') {184 if (toupper(type) == 'A') {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t