From 47bbade8470944d4adc8b26fc005a29868eb3a18 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Wed, 18 Sep 2024 11:28:32 +0100 Subject: [PATCH] boards: enclustra: mercury_xe: Remove pointless init function Removes an init function that does absolutely nothing Signed-off-by: Jamie McCrae --- boards/enclustra/mercury_xu/CMakeLists.txt | 5 ----- boards/enclustra/mercury_xu/board.c | 16 ---------------- 2 files changed, 21 deletions(-) delete mode 100644 boards/enclustra/mercury_xu/CMakeLists.txt delete mode 100644 boards/enclustra/mercury_xu/board.c diff --git a/boards/enclustra/mercury_xu/CMakeLists.txt b/boards/enclustra/mercury_xu/CMakeLists.txt deleted file mode 100644 index f1877356e3b..00000000000 --- a/boards/enclustra/mercury_xu/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright (c) 2020, Antmicro -# SPDX-License-Identifier: Apache-2.0 - -zephyr_library() -zephyr_library_sources(board.c) diff --git a/boards/enclustra/mercury_xu/board.c b/boards/enclustra/mercury_xu/board.c deleted file mode 100644 index db436299a9c..00000000000 --- a/boards/enclustra/mercury_xu/board.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2020, Antmicro - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include - -static int mercury_xu_init(void) -{ - return 0; -} - -SYS_INIT(mercury_xu_init, PRE_KERNEL_2, - CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);