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 <kasong@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
Kairui Song 2020-07-28 02:30:47 +08:00
parent a37f36ad4d
commit ff46cfb19e

View File

@ -321,11 +321,6 @@ kdump_get_persistent_dev() {
echo $(get_persistent_dev "$dev") echo $(get_persistent_dev "$dev")
} }
is_atomic()
{
grep -q "ostree" /proc/cmdline
}
is_ipv6_address() is_ipv6_address()
{ {
echo $1 | grep -q ":" echo $1 | grep -q ":"