mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
module: Remove unused macros module_addr_min/max
Unused macros reported by [-Wunused-macros].
These macros are introduced to record the bound address of modules.
Commit 80b8bf4369
("module: Always have struct mod_tree_root") made
"struct mod_tree_root" always present and its members addr_min and
addr_max can be directly accessed.
Macros module_addr_min and module_addr_min are not used anymore, so remove
them.
Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mcgrof: massaged the commit messsage as suggested by Miroslav]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
parent
3cd60866d4
commit
89a6b59176
1 changed files with 0 additions and 3 deletions
|
@ -85,9 +85,6 @@ struct mod_tree_root mod_data_tree __cacheline_aligned = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define module_addr_min mod_tree.addr_min
|
|
||||||
#define module_addr_max mod_tree.addr_max
|
|
||||||
|
|
||||||
struct symsearch {
|
struct symsearch {
|
||||||
const struct kernel_symbol *start, *stop;
|
const struct kernel_symbol *start, *stop;
|
||||||
const s32 *crcs;
|
const s32 *crcs;
|
||||||
|
|
Loading…
Reference in a new issue