Skip to content
Commit 4de7b629 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

modpost: remove is_vmlinux() helper



Now that is_vmlinux() is called only in new_module(), we can inline
the function call.

modname is the basename with '.o' is stripped. No need to compare it
with 'vmlinux.o'.

vmlinux is always located at the current working directory. No need
to strip the directory path.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a82f794c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment