From: f.fainelli@gmail.com (Florian Fainelli) Date: Mon, 29 Oct 2018 16:52:06 -0700 Subject: [PATCH 6/6] of/fdt: Remove definition check for __early_init_dt_declare_initrd() In-Reply-To: <20181029235206.30060-1-f.fainelli@gmail.com> References: <20181029235206.30060-1-f.fainelli@gmail.com> Message-ID: <20181029235206.30060-7-f.fainelli@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org With the one and only architecture (ARM64) no longer defining a custom __early_init_dt_declare_initrd() function, just get rid of the check for that function being already defined. Signed-off-by: Florian Fainelli --- drivers/of/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 313cd4f24258..3d84fe79eeb4 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -892,7 +892,6 @@ const void * __init of_flat_dt_match_machine(const void *default_match, } #ifdef CONFIG_BLK_DEV_INITRD -#ifndef __early_init_dt_declare_initrd static void __early_init_dt_declare_initrd(unsigned long start, unsigned long end) { @@ -904,7 +903,6 @@ static void __early_init_dt_declare_initrd(unsigned long start, phys_initrd_size = end - start; #endif } -#endif /** * early_init_dt_check_for_initrd - Decode initrd location from flat tree -- 2.17.1