[LEDE-DEV] [PATCH] base-files: drop unused preinit_echo function

Rafał Miłecki zajec5 at gmail.com
Sun Aug 6 23:41:26 PDT 2017


From: Rafał Miłecki <rafal at milecki.pl>

It isn't used for years since 99_10_run_init has been dropped.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/base-files/files/lib/preinit/10_indicate_preinit | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit
index 43bd04d444..666f9aa860 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -143,11 +143,6 @@ preinit_net_echo() {
 	}
 }
 
-preinit_echo() {
-	preinit_net_echo $1
-	echo $1
-}
-
 pi_indicate_preinit() {
 	preinit_net_echo "Doing Lede Preinit\n"
 	set_state preinit
-- 
2.11.0




More information about the Lede-dev mailing list