diff mbox series

[2/4] common: remove the $FSYP check in _cleanup_dump

Message ID 20241210065900.1235379-3-hch@lst.de (mailing list archive)
State New
Headers show
Series [1/4] generic/363: remove _supported_fs xfs | expand

Commit Message

Christoph Hellwig Dec. 10, 2024, 6:58 a.m. UTC
Despite the comment, _cleanup_dump is only called from xfs specific
tests, so this is superfluous.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 common/dump | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/common/dump b/common/dump
index 50b2ba03c670..3761c16100d8 100644
--- a/common/dump
+++ b/common/dump
@@ -223,12 +223,6 @@  _require_tape()
 #
 _cleanup_dump()
 {
-    # Some tests include this before checking _supported_fs xfs
-    # and the sleeps & checks here get annoying
-    if [ "$FSTYP" != "xfs" ]; then
-       return
-    fi
-
     cd $here
 
     if [ -n "$DEBUGDUMP" ]; then