From e0b9ec8e969e1c37c284cfa2f252e9b0a71157db Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 9 Jul 2017 12:25:04 +0200 Subject: treewide: drop target board_name functions They are not used any longer. Signed-off-by: Mathias Kresin --- target/linux/mpc85xx/base-files/lib/mpc85xx.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'target/linux/mpc85xx/base-files') diff --git a/target/linux/mpc85xx/base-files/lib/mpc85xx.sh b/target/linux/mpc85xx/base-files/lib/mpc85xx.sh index 57575634d6..1a2a671e28 100755 --- a/target/linux/mpc85xx/base-files/lib/mpc85xx.sh +++ b/target/linux/mpc85xx/base-files/lib/mpc85xx.sh @@ -28,12 +28,3 @@ mpc85xx_board_detect() { echo "$MPC85XX_BOARD_NAME" > /tmp/sysinfo/board_name echo "$MPC85XX_MODEL" > /tmp/sysinfo/model } - -mpc85xx_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "$name" -} -- cgit v1.2.3