[PATCH v2 lkp-tests] lib/bootstrap.sh: delete history remove code

[why] function callend by "is_clearlinux" is not defined, by checking history commit record, the function is removed and the patch codes is removed. [ 63.427966] [ 63.428704] + is_clearlinux [ 63.428705] [ 63.431226] /lkp/lkp/src/lib/bootstrap.sh: line 104: is_clearlinux: command not found [ 63.431228] Signed-off-by: Liu Shaofei <370072077@qq.com> --- lib/bootstrap.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/bootstrap.sh b/lib/bootstrap.sh index 7983f638e..070dabf46 100755 --- a/lib/bootstrap.sh +++ b/lib/bootstrap.sh @@ -101,13 +101,6 @@ network_ok() [ "$(cat $i/carrier 2>/dev/null)" = '1' ] && test_ping && return 0 done - is_clearlinux && { - net_devices_link up - - # in case of systemd-networkd.service was masked - systemctl unmask systemd-networkd.service - systemctl start systemd-networkd.service - } return 1 } -- 2.23.0

Reviewed-by: Wang Yong <wangyong0117@qq.com> On Thu, Apr 22, 2021 at 03:41:59PM +0800, Liu Shaofei wrote:
[why] function callend by "is_clearlinux" is not defined, by checking history commit record, the function is removed and the patch codes is removed.
[ 63.427966] [ 63.428704] + is_clearlinux [ 63.428705] [ 63.431226] /lkp/lkp/src/lib/bootstrap.sh: line 104: is_clearlinux: command not found [ 63.431228]
Signed-off-by: Liu Shaofei <370072077@qq.com> --- lib/bootstrap.sh | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/lib/bootstrap.sh b/lib/bootstrap.sh index 7983f638e..070dabf46 100755 --- a/lib/bootstrap.sh +++ b/lib/bootstrap.sh @@ -101,13 +101,6 @@ network_ok() [ "$(cat $i/carrier 2>/dev/null)" = '1' ] && test_ping && return 0 done
- is_clearlinux && { - net_devices_link up - - # in case of systemd-networkd.service was masked - systemctl unmask systemd-networkd.service - systemctl start systemd-networkd.service - } return 1 }
-- 2.23.0
participants (2)
-
Liu Shaofei
-
Wang Yong