diff options
author | Mathias Kresin <dev@kresin.me> | 2017-07-09 12:25:04 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-15 23:13:34 +0200 |
commit | e0b9ec8e969e1c37c284cfa2f252e9b0a71157db (patch) | |
tree | 666be710b772d5e3d50a45943e122376e1a22294 /target/linux/ar71xx/base-files/lib | |
parent | f12a32630ff52b5e13397f64e9fb31708e97fb60 (diff) | |
download | upstream-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/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b74807d4b0..5c29a3f0d0 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -1342,12 +1342,3 @@ ar71xx_board_detect() { echo "$AR71XX_BOARD_NAME" > /tmp/sysinfo/board_name echo "$AR71XX_MODEL" > /tmp/sysinfo/model } - -ar71xx_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "$name" -} |