The board file calls only barebox_set_hostname(). Since we can extract host name from devicetree, we can drop board file. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/boards/dlink-dir-320/Makefile | 1 - arch/mips/boards/dlink-dir-320/board.c | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/arch/mips/boards/dlink-dir-320/Makefile b/arch/mips/boards/dlink-dir-320/Makefile index 01c7a259e9..b08c4a93ca 100644 --- a/arch/mips/boards/dlink-dir-320/Makefile +++ b/arch/mips/boards/dlink-dir-320/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/mips/boards/dlink-dir-320/board.c b/arch/mips/boards/dlink-dir-320/board.c deleted file mode 100644 index b75812cefe..0000000000 --- a/arch/mips/boards/dlink-dir-320/board.c +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011, 2014 Antony Pavlov <antonynpavlov@xxxxxxxxx> - */ - -#include <common.h> -#include <init.h> - -static int dir320_console_init(void) -{ - barebox_set_hostname("dir320"); - - return 0; -} -console_initcall(dir320_console_init); -- 2.25.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox