aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/base-files/lib/ixp4xx.sh
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/ixp4xx/base-files/lib/ixp4xx.sh
parentf12a32630ff52b5e13397f64e9fb31708e97fb60 (diff)
downloadupstream-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.tar.gz
upstream-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.tar.bz2
upstream-e0b9ec8e969e1c37c284cfa2f252e9b0a71157db.zip
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/ixp4xx/base-files/lib/ixp4xx.sh')
-rw-r--r--target/linux/ixp4xx/base-files/lib/ixp4xx.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/ixp4xx/base-files/lib/ixp4xx.sh b/target/linux/ixp4xx/base-files/lib/ixp4xx.sh
index 7486356b9c..3f73dd98e0 100644
--- a/target/linux/ixp4xx/base-files/lib/ixp4xx.sh
+++ b/target/linux/ixp4xx/base-files/lib/ixp4xx.sh
@@ -32,12 +32,3 @@ ixp4xx_board_detect() {
echo "$IXP4XX_BOARD_NAME" > /tmp/sysinfo/board_name
echo "$IXP4XX_MODEL" > /tmp/sysinfo/model
}
-
-ixp4xx_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo $name
-}