aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/base-files/lib/mcs814x.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mcs814x/base-files/lib/mcs814x.sh')
-rw-r--r--target/linux/mcs814x/base-files/lib/mcs814x.sh9
1 files changed, 0 insertions, 9 deletions
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"
-}