From 80304ace5891b56ac07e6e64129c74b961f0b4db Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 17 Mar 2017 16:21:49 +0100 Subject: [PATCH] lantiq: remove lantiq_board_model, it is unused Signed-off-by: Felix Fietkau (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 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 -- 2.25.1