Message ID | 20240706160511.2331061-1-masahiroy@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] init: remove unused __MEMINIT* macros | expand |
On Sun, Jul 07, 2024 at 01:05:05AM +0900, Masahiro Yamada wrote: >These macros are not used anywhere. > >Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Wei Yang <richard.weiyang@gmail.com> >--- > > include/linux/init.h | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/include/linux/init.h b/include/linux/init.h >index 58cef4c2e59a..b2e9dfff8691 100644 >--- a/include/linux/init.h >+++ b/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" >-- >2.43.0
diff --git a/include/linux/init.h b/include/linux/init.h index 58cef4c2e59a..b2e9dfff8691 100644 --- a/include/linux/init.h +++ b/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"
These macros are not used anywhere. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- include/linux/init.h | 4 ---- 1 file changed, 4 deletions(-)