diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-01 08:57:30 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-06 17:39:20 +0300 |
commit | 4de7b62936122570408357417f21072e78292926 (patch) | |
tree | e1b1bd510421bceb2b4eb86d4947db403bd7f25e /samples | |
parent | a82f794c41ab51f088af325f5d9acba30a6facdb (diff) | |
download | linux-4de7b62936122570408357417f21072e78292926.tar.xz |
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions