[openwrt/openwrt] base-files: remove unused vn and _vn function

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 20 18:16:19 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb

commit d8bfcc59b03ea1ad2af5ee7ca99688815e386bcb
Author: Florian Eckert <fe at dev.tdt.de>
AuthorDate: Wed Feb 3 10:25:38 2021 +0100

    base-files: remove unused vn and _vn function
    
    The remaining vn calls have been ported to v.
    Therefore, these functions are no longer needed and will be removed.
    
    Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
 package/base-files/files/lib/upgrade/common.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 5c85d986f9..2b152a3dfa 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -65,19 +65,11 @@ _v() {
 	[ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo "$*" >&2
 }
 
-_vn() {
-	[ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo -n "$*" >&2
-}
-
 v() {
 	_v "$(date) upgrade: $@"
 	logger -p info -t upgrade "$@"
 }
 
-vn() {
-	_vn "$(date) upgrade: $@"
-}
-
 json_string() {
 	local v="$1"
 	v="${v//\\/\\\\}"



More information about the lede-commits mailing list