modpost: remove mod->skip struct member
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 05:57:27 +0000 (14:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 6 Jun 2020 14:39:20 +0000 (23:39 +0900)
commit0b19d54cae11bd5b9e208f52e42d88ad33a3b1d9
tree61ab5fc541defa3a5203136624b09adbd2d6407a
parent5a438af9db2c4a0b80d51d8c1c9c623b0c0de967
modpost: remove mod->skip struct member

The meaning of 'skip' is obscure since it does not explain
"what to skip".

mod->skip is set when it is vmlinux or the module info came from
a dump file.

So, mod->skip is equivalent to (mod->is_vmlinux || mod->from_dump).

For the check in write_namespace_deps_files(), mod->is_vmlinux is
unneeded because the -d option is not passed in the first pass of
modpost.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c
scripts/mod/modpost.h