diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-02 15:13:34 +0300 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2021-02-08 14:28:07 +0300 |
commit | 367948220fcefcad1bf0d3d595a06efe0694acae (patch) | |
tree | 79e3be8a460c5ef2dabc78489926a1a7215d1d65 /include/linux/module.h | |
parent | f1c3d73e973cfad85ff5d3d86086503e742d8c62 (diff) | |
download | linux-367948220fcefcad1bf0d3d595a06efe0694acae.tar.xz |
module: remove EXPORT_UNUSED_SYMBOL*
EXPORT_UNUSED_SYMBOL* is not actually used anywhere. Remove the
unused functionality as we generally just remove unused code anyway.
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index e6e50ee30412..59f094fa6f74 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -392,18 +392,6 @@ struct module { const s32 *gpl_crcs; bool using_gplonly_symbols; -#ifdef CONFIG_UNUSED_SYMBOLS - /* unused exported symbols. */ - const struct kernel_symbol *unused_syms; - const s32 *unused_crcs; - unsigned int num_unused_syms; - - /* GPL-only, unused exported symbols. */ - unsigned int num_unused_gpl_syms; - const struct kernel_symbol *unused_gpl_syms; - const s32 *unused_gpl_crcs; -#endif - #ifdef CONFIG_MODULE_SIG /* Signature was verified. */ bool sig_ok; |