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/brcm2708/base-files/lib/brcm2708.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'target/linux/brcm2708/base-files') diff --git a/target/linux/brcm2708/base-files/lib/brcm2708.sh b/target/linux/brcm2708/base-files/lib/brcm2708.sh index 81f123f204..76e678ff97 100644 --- a/target/linux/brcm2708/base-files/lib/brcm2708.sh +++ b/target/linux/brcm2708/base-files/lib/brcm2708.sh @@ -41,12 +41,3 @@ brcm2708_detect() { echo "$board_name" > /tmp/sysinfo/board_name echo "$model" > /tmp/sysinfo/model } - -brcm2708_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -n "$name" ] || name="unknown" - - echo $name -} -- cgit v1.2.3