diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-01 07:57:27 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-06 16:39:20 +0200 |
commit | 0b19d54cae11bd5b9e208f52e42d88ad33a3b1d9 (patch) | |
tree | 61ab5fc541defa3a5203136624b09adbd2d6407a /scripts/mod/modpost.h | |
parent | modpost: add mod->is_vmlinux struct member (diff) | |
download | linux-0b19d54cae11bd5b9e208f52e42d88ad33a3b1d9.tar.xz linux-0b19d54cae11bd5b9e208f52e42d88ad33a3b1d9.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | scripts/mod/modpost.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h index 87251729539e..3dc9e8fa5d1f 100644 --- a/scripts/mod/modpost.h +++ b/scripts/mod/modpost.h @@ -122,7 +122,6 @@ struct module { int from_dump; /* 1 if module was loaded from *.symvers */ int is_vmlinux; int seen; - int skip; int has_init; int has_cleanup; struct buffer dev_table_buf; |