diff mbox series

[V2,4/6] ARM: rmobile: Beacon: Remove dead code

Message ID 20210920161432.13110-4-aford173@gmail.com
State Accepted
Commit 8e8fb50a93febd944e8943d752a6d9b065d45fcd
Delegated to: Marek Vasut
Headers show
Series [V2,1/6] ARM: rmobile: Enable board detection when FIT is enabled | expand

Commit Message

Adam Ford Sept. 20, 2021, 4:14 p.m. UTC
There are a few do-nothing functions that can be removed.
Remove them.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 board/beacon/beacon-rzg2m/beacon-rzg2m.c | 10 ----------
 configs/r8a774a1_beacon_defconfig        |  1 +
 2 files changed, 1 insertion(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
index b3521fcbc1..df6044a429 100644
--- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c
+++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
@@ -10,16 +10,6 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-void s_init(void)
-{
-}
-
-/* Kconfig forces this on, so just return 0 */
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int board_init(void)
 {
 	/* address of boot parameters */
diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig
index 11c99d4850..aaea9b4c30 100644
--- a/configs/r8a774a1_beacon_defconfig
+++ b/configs/r8a774a1_beacon_defconfig
@@ -13,6 +13,7 @@  CONFIG_FIT=y
 CONFIG_SUPPORT_RAW_INITRD=y
 # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
 CONFIG_DEFAULT_FDT_FILE="r8a774a1-beacon-rzg2m-kit.dtb"
+# CONFIG_BOARD_EARLY_INIT_F is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GPIO=y