aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-30 08:10:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:04:03 +0200
commit79100b191e71c1df8a80af5ba5e5979d4e9dec6e (patch)
tree0199cb1fa58b91a482f903516215b62de0295180 /include
parentmodules: mark ref_module static (diff)
downloadwireguard-linux-79100b191e71c1df8a80af5ba5e5979d4e9dec6e.tar.xz
wireguard-linux-79100b191e71c1df8a80af5ba5e5979d4e9dec6e.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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 92b2058b2f03..d9d393ba17be 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -570,17 +570,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.