diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 08:10:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 10:57:23 +0200 |
commit | 862a1517a77b8269c92503f7c548ebc0ccb0b9f5 (patch) | |
tree | 94aedb81d0601d3f12fdec8acb1cc7e265eb5a66 /include | |
parent | 52d03d9947ad805651b5fa5289f75a387756f36b (diff) | |
download | linux-stable-862a1517a77b8269c92503f7c548ebc0ccb0b9f5.tar.gz linux-stable-862a1517a77b8269c92503f7c548ebc0ccb0b9f5.tar.bz2 linux-stable-862a1517a77b8269c92503f7c548ebc0ccb0b9f5.zip |
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')
-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 0b52461fab81..63bf70303795 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -531,17 +531,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. |