[source] lantiq: remove lantiq_board_model, it is unused

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:43:44 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/80304ace5891b56ac07e6e64129c74b961f0b4db

commit 80304ace5891b56ac07e6e64129c74b961f0b4db
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Mar 17 16:21:49 2017 +0100

    lantiq: remove lantiq_board_model, it is unused
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry picked from commit fd93f81fd85e964a697a5f550f7f162e3ec1ca05)
---
 target/linux/lantiq/base-files/lib/functions/lantiq.sh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq.sh b/target/linux/lantiq/base-files/lib/functions/lantiq.sh
index 5d760d1..d9758f5 100644
--- a/target/linux/lantiq/base-files/lib/functions/lantiq.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq.sh
@@ -1,14 +1,5 @@
 #!/bin/sh
 
-lantiq_board_model() {
-	local model
-
-	[ -f /tmp/sysinfo/model ] && model=$(cat /tmp/sysinfo/model)
-	[ -z "$model" ] && model="unknown"
-
-	echo "$model"
-}
-
 lantiq_get_dt_led() {
 	local label
 	local ledpath



More information about the lede-commits mailing list