diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-08-01 18:39:01 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-08-04 20:32:13 +0900 |
commit | 1560cb0e186e83f0572a84d22e139c100060905c (patch) | |
tree | 7bf78b39310e6cc76c79def352e9f8c774178d61 /drivers | |
parent | 7452dd26a59a9dfcde3f179594f3be6c4752a9a9 (diff) | |
download | linux-1560cb0e186e83f0572a84d22e139c100060905c.tar.bz2 |
modpost: remove unneeded .symbol_white_list initializers
The ->symbol_white_list field is referenced in secref_whitelist(),
only when 'fromsec' is data_sections.
/* Check for pattern 2 */
if (match(tosec, init_exit_sections) &&
match(fromsec, data_sections) &&
match(fromsym, mismatch->symbol_white_list))
return 0;
If .fromsec is not data sections, the .symbol_white_list member is
not used by anyone.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions