diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-30 09:10:20 +0300 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2020-08-01 17:04:55 +0300 |
commit | 7ef5264de773279b9f23b6cc8afb5addb30e970b (patch) | |
tree | 0ca13dc21c372afaf6a830cd97c9df8158b112f5 /include/linux/module.h | |
parent | c6a8b84da4c28bda61b842a089651c3ec9d89a48 (diff) | |
download | linux-7ef5264de773279b9f23b6cc8afb5addb30e970b.tar.xz |
modules: mark ref_module static
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>
Diffstat (limited to 'include/linux/module.h')
-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 2e6670860d27..f1fdbeef2153 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -657,7 +657,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) \ |