From: Felix Fietkau Date: Fri, 17 Mar 2017 15:21:49 +0000 (+0100) Subject: lantiq: remove lantiq_board_model, it is unused X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd93f81fd85e964a697a5f550f7f162e3ec1ca05;p=openwrt%2Fstaging%2Fflorian.git lantiq: remove lantiq_board_model, it is unused Signed-off-by: Felix Fietkau --- diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq.sh b/target/linux/lantiq/base-files/lib/functions/lantiq.sh index 5d760d1d30..d9758f50f6 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