diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 09:10:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 11:59:23 +0300 |
commit | c3da81cefbb5bc729db273ce90a994477413fc9d (patch) | |
tree | 908c9cefde8cdab887b6e897027a081fd66c8839 /include/linux/module.h | |
parent | 8745aa4e018e4159f8c49d9689251f51fd0a15e0 (diff) | |
download | linux-c3da81cefbb5bc729db273ce90a994477413fc9d.tar.xz |
modules: mark find_symbol static
commit 773110470e2fa3839523384ae014f8a723c4d178 upstream.
find_symbol is only used in module.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 116fe0da3b6a..f52bd3ff1e01 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -538,17 +538,6 @@ struct symsearch { }; /* - * Search for an exported symbol by name. - * - * Must be called with module_mutex held or preemption disabled. - */ -const struct kernel_symbol *find_symbol(const char *name, - struct module **owner, - const s32 **crc, - bool gplok, - bool warn); - -/* * Walk the exported symbol table * * Must be called with module_mutex held or preemption disabled. |