[source] lantiq: remove lantiq_board_model, it is unused

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 22 03:43:49 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/fd93f81fd85e964a697a5f550f7f162e3ec1ca05

commit fd93f81fd85e964a697a5f550f7f162e3ec1ca05
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>
---
 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