aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-04-25 04:07:56 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-05-08 03:17:00 +0900
commit70ddb48db4aaddd3c2a7d8802463e15b21ce8525 (patch)
tree5cf3afca1326c04ad1922a1f07b22bbc57fe7c53 /scripts/mod/modpost.h
parentmodpost: retrieve the module dependency and CRCs in check_exports() (diff)
downloadlinux-dev-70ddb48db4aaddd3c2a7d8802463e15b21ce8525.tar.xz
linux-dev-70ddb48db4aaddd3c2a7d8802463e15b21ce8525.zip
modpost: move struct namespace_list to modpost.c
There is no good reason to define struct namespace_list in modpost.h struct module has pointers to struct namespace_list, but that does not require the definition of struct namespace_list. Move it to modpost.c. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to '')
-rw-r--r--scripts/mod/modpost.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index 0a940fd2e5c7..7aed57fe793e 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -109,11 +109,6 @@ buf_printf(struct buffer *buf, const char *fmt, ...);
void
buf_write(struct buffer *buf, const char *s, int len);
-struct namespace_list {
- struct namespace_list *next;
- char namespace[];
-};
-
struct module {
struct module *next;
int gpl_compatible;