Re: [PATCH 1/2] init: remove unused __MEMINIT* macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Reviewed-by: Wei Yang <richard.weiyang@xxxxxxxxx>

>---
>
> 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

-- 
Wei Yang
Help you, Help me




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux