From ff46cfb19e9bf944a114164e33203b1a532d35f6 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Tue, 28 Jul 2020 02:30:47 +0800 Subject: [PATCH] kdump-lib.sh: Remove is_atomic Now all atomic special workaround is removed, we can remove the atomic detection function. Signed-off-by: Kairui Song Acked-by: Dave Young --- kdump-lib.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kdump-lib.sh b/kdump-lib.sh index 126104f..e18c473 100755 --- a/kdump-lib.sh +++ b/kdump-lib.sh @@ -321,11 +321,6 @@ kdump_get_persistent_dev() { echo $(get_persistent_dev "$dev") } -is_atomic() -{ - grep -q "ostree" /proc/cmdline -} - is_ipv6_address() { echo $1 | grep -q ":"