summaryrefslogtreecommitdiff
path: root/target/linux/arc770/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-07-09 12:25:04 +0200
committerMathias Kresin <dev@kresin.me>2017-07-15 23:13:34 +0200
commite0b9ec8e969e1c37c284cfa2f252e9b0a71157db (patch)
tree666be710b772d5e3d50a45943e122376e1a22294 /target/linux/arc770/base-files
parentf12a32630ff52b5e13397f64e9fb31708e97fb60 (diff)
downloadmtk-20170518-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.zip
mtk-20170518-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.tar.gz
mtk-20170518-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.tar.bz2
treewide: drop target board_name functions
They are not used any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/arc770/base-files')
-rw-r--r--target/linux/arc770/base-files/lib/arc.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/arc770/base-files/lib/arc.sh b/target/linux/arc770/base-files/lib/arc.sh
index 2b4fb93..185aeed 100644
--- a/target/linux/arc770/base-files/lib/arc.sh
+++ b/target/linux/arc770/base-files/lib/arc.sh
@@ -38,13 +38,3 @@ arc_board_detect() {
echo "$ARC_BOARD_MODEL" > /tmp/sysinfo/model
echo "Detected $ARC_BOARD_NAME // $ARC_BOARD_MODEL"
}
-
-arc_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name="$(cat /tmp/sysinfo/board_name)"
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}
-