| From: Masahiro Yamada <masahiroy@kernel.org> |
| Subject: init: remove unused __MEMINIT* macros |
| Date: Sun, 7 Jul 2024 01:05:05 +0900 |
| |
| These macros are not used anywhere. |
| |
| Link: https://lkml.kernel.org/r/20240706160511.2331061-1-masahiroy@kernel.org |
| Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> |
| Reviewed-by: Wei Yang <richard.weiyang@gmail.com> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| include/linux/init.h | 4 ---- |
| 1 file changed, 4 deletions(-) |
| |
| --- a/include/linux/init.h~init-remove-unused-__meminit-macros |
| +++ a/include/linux/init.h |
| @@ -99,10 +99,6 @@ |
| #define __INITRODATA .section ".init.rodata","a",%progbits |
| #define __FINITDATA .previous |
| |
| -#define __MEMINIT .section ".meminit.text", "ax" |
| -#define __MEMINITDATA .section ".meminit.data", "aw" |
| -#define __MEMINITRODATA .section ".meminit.rodata", "a" |
| - |
| /* silence warnings when references are OK */ |
| #define __REF .section ".ref.text", "ax" |
| #define __REFDATA .section ".ref.data", "aw" |
| _ |