From 258d285c63dabb0e29f88cf3d1b36be572b9e7dd Mon Sep 17 00:00:00 2001 From: Philipp Rudo Date: Mon, 3 Apr 2023 16:54:58 +0200 Subject: [PATCH] kdump-lib-initramfs: remove is_fs_dump_target The function isn't used anywhere. Thus remove it to keep kdump-lib-initramfs small and simple. Signed-off-by: Philipp Rudo Reviewed-by: Lichen Liu Reviewed-by: Coiby Xu --- kdump-lib-initramfs.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kdump-lib-initramfs.sh b/kdump-lib-initramfs.sh index c6338c6..f7b58a2 100755 --- a/kdump-lib-initramfs.sh +++ b/kdump-lib-initramfs.sh @@ -150,11 +150,6 @@ is_nfs_dump_target() return 1 } -is_fs_dump_target() -{ - [ -n "$(kdump_get_conf_val "ext[234]\|xfs\|btrfs\|minix\|virtiofs")" ] -} - is_lvm2_thinp_device() { _device_path=$1