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/mcs814x/base-files/lib/mcs814x.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'target/linux/mcs814x') diff --git a/target/linux/mcs814x/base-files/lib/mcs814x.sh b/target/linux/mcs814x/base-files/lib/mcs814x.sh index e4360fdb8f..3c16c9c125 100644 --- a/target/linux/mcs814x/base-files/lib/mcs814x.sh +++ b/target/linux/mcs814x/base-files/lib/mcs814x.sh @@ -31,12 +31,3 @@ mcs814x_board_detect() { echo "$MCS814X_BOARD_NAME" > /tmp/sysinfo/board_name echo "$MCS814X_MODEL" > /tmp/sysinfo/model } - -mcs814x_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