diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-01 08:57:25 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-06 17:38:13 +0300 |
commit | 1be5fa6c948533bb95ac783010ef686261be5384 (patch) | |
tree | a749cb26672b6a7914684d4a28ba961830dba857 /scripts/mod/empty.c | |
parent | 3379576dd6e708f66498d49b4cec5f9b198791a0 (diff) | |
download | linux-1be5fa6c948533bb95ac783010ef686261be5384.tar.xz |
modpost: remove is_vmlinux() call in check_for_{gpl_usage,unused}()
check_exports() is never called for vmlinux because mod->skip is set
for vmlinux.
Hence, check_for_gpl_usage() and check_for_unused() are not called
for vmlinux, either. is_vmlinux() is always false here.
Remove the is_vmlinux() calls, and hard-code the ".ko" suffix.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/mod/empty.c')
0 files changed, 0 insertions, 0 deletions