[source] base-files: drop unused preinit_echo function

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


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

commit 23b9dc2eca8a0dc4b05963820effa318df20d15a
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Mon Aug 7 08:41:26 2017 +0200

    base-files: drop unused preinit_echo function
    
    It isn't used for years since the old 99_10_run_init has been dropped.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
    (cherry picked from commit 1e13c6f77fc02df2bd8ed237ab9208ecdefb2dab)
---
 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 2c1a63f..5442a74 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -147,11 +147,6 @@ preinit_net_echo() {
 	}
 }
 
-preinit_echo() {
-	preinit_net_echo $1
-	echo $1
-}
-
 pi_indicate_preinit() {
 	set_state preinit
 }



More information about the lede-commits mailing list