diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2023-05-26 12:51:23 +0530 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-05-26 15:10:18 -0700 |
commit | 4f521bab5bfc854ec0dab7ef560dfa75247e615d (patch) | |
tree | 90c8652a2bb21e86d582671120d3da15ee38c978 /include/linux/module.h | |
parent | 15d5daa0a7006b9bd4dcc49f90e7ac8ddbe102f2 (diff) |
kallsyms: remove unsed API lookup_symbol_attrs
with commit '7878c231dae0 ("slab: remove /proc/slab_allocators")'
lookup_symbol_attrs usage is removed.
Thus removing redundant API.
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 9e56763dff81..a98e188cf37b 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -968,15 +968,6 @@ static inline int lookup_module_symbol_name(unsigned long addr, char *symname) return -ERANGE; } -static inline int lookup_module_symbol_attrs(unsigned long addr, - unsigned long *size, - unsigned long *offset, - char *modname, - char *name) -{ - return -ERANGE; -} - static inline int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *name, char *module_name, int *exported) |