From 4cb19a18d05076b63f7679e5b4ba597118a2dfb0 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 2 Oct 2019 12:30:03 +0200 Subject: barebox.lds: Remove unnecessary braces The BAREBOX_CLK_TABLE and BAREBOX_DTB macros are defines that do not take a parameter, so we can remove the braces. Signed-off-by: Sascha Hauer --- arch/arm/lib32/barebox.lds.S | 4 ++-- arch/arm/lib64/barebox.lds.S | 4 ++-- arch/mips/lib/barebox.lds.S | 4 ++-- arch/openrisc/cpu/barebox.lds.S | 2 +- arch/riscv/lib/barebox.lds.S | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'arch') diff --git a/arch/arm/lib32/barebox.lds.S b/arch/arm/lib32/barebox.lds.S index 7230e5f31f..05a50afaad 100644 --- a/arch/arm/lib32/barebox.lds.S +++ b/arch/arm/lib32/barebox.lds.S @@ -118,9 +118,9 @@ SECTIONS __end_pci_fixups_enable = .; #endif - .oftables : { BAREBOX_CLK_TABLE() } + .oftables : { BAREBOX_CLK_TABLE } - .dtb : { BAREBOX_DTB() } + .dtb : { BAREBOX_DTB } .rel_dyn_start : { *(.__rel_dyn_start) } .rel.dyn : { *(.rel*) } diff --git a/arch/arm/lib64/barebox.lds.S b/arch/arm/lib64/barebox.lds.S index 694bbcaaf1..5e9d94bee9 100644 --- a/arch/arm/lib64/barebox.lds.S +++ b/arch/arm/lib64/barebox.lds.S @@ -100,9 +100,9 @@ SECTIONS __end_pci_fixups_enable = .; #endif - .oftables : { BAREBOX_CLK_TABLE() } + .oftables : { BAREBOX_CLK_TABLE } - .dtb : { BAREBOX_DTB() } + .dtb : { BAREBOX_DTB } .rel_dyn_start : { *(.__rel_dyn_start) } .rela.dyn : { *(.rela*) } diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S index 58b0c5919d..7109d73372 100644 --- a/arch/mips/lib/barebox.lds.S +++ b/arch/mips/lib/barebox.lds.S @@ -76,9 +76,9 @@ SECTIONS .pci_fixup_enable : { KEEP(*(.pci_fixup_enable)) } __end_pci_fixups_enable = .; #endif - .oftables : { BAREBOX_CLK_TABLE() } + .oftables : { BAREBOX_CLK_TABLE } - .dtb : { BAREBOX_DTB() } + .dtb : { BAREBOX_DTB } _edata = .; .image_end : { *(.__image_end) } diff --git a/arch/openrisc/cpu/barebox.lds.S b/arch/openrisc/cpu/barebox.lds.S index c6807aec3a..ed9b90ed70 100644 --- a/arch/openrisc/cpu/barebox.lds.S +++ b/arch/openrisc/cpu/barebox.lds.S @@ -77,7 +77,7 @@ SECTIONS __usymtab : { BAREBOX_SYMS } > ram ___usymtab_end = .; - .dtb : { BAREBOX_DTB() } > ram + .dtb : { BAREBOX_DTB } > ram __etext = .; /* End of text and rodata section */ diff --git a/arch/riscv/lib/barebox.lds.S b/arch/riscv/lib/barebox.lds.S index ffb97f40e8..10c19f15de 100644 --- a/arch/riscv/lib/barebox.lds.S +++ b/arch/riscv/lib/barebox.lds.S @@ -66,9 +66,9 @@ SECTIONS .rela.dyn : { *(.rela*) } - .oftables : { BAREBOX_CLK_TABLE() } + .oftables : { BAREBOX_CLK_TABLE } - .dtb : { BAREBOX_DTB() } + .dtb : { BAREBOX_DTB } _edata = .; . = ALIGN(8); -- cgit v1.2.3