diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 08:10:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-11 14:04:03 +0200 |
commit | 6e38daf2e5db63611fa52ba57b9089d3be1a345d (patch) | |
tree | f878eb61b2bf0584b45901de69670609d48b288b /include | |
parent | mmc: core: Fix hanging on I/O during system suspend for removable cards (diff) | |
download | wireguard-linux-6e38daf2e5db63611fa52ba57b9089d3be1a345d.tar.xz wireguard-linux-6e38daf2e5db63611fa52ba57b9089d3be1a345d.zip |
modules: mark ref_module static
commit 7ef5264de773279b9f23b6cc8afb5addb30e970b upstream.
ref_module isn't used anywhere outside of 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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 6d20895e7739..92b2058b2f03 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -636,7 +636,6 @@ static inline void __module_get(struct module *module) #define symbol_put_addr(p) do { } while (0) #endif /* CONFIG_MODULE_UNLOAD */ -int ref_module(struct module *a, struct module *b); /* This is a #define so the string doesn't get put in every .o file */ #define module_name(mod) \ |