diff mbox series

generic/498: don't call _cleanup_flakey repeatedly

Message ID 20180904062650.26695-1-lufq.fnst@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show
Series generic/498: don't call _cleanup_flakey repeatedly | expand

Commit Message

Lu Fengqi Sept. 4, 2018, 6:26 a.m. UTC
Since exit always traps into _cleanup function which contains
_cleanup_flakey, don't need _cleanup_flakey twice.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
---
 tests/generic/498 | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/generic/498 b/tests/generic/498
index 1cf73bda3b60..71f5091c30af 100755
--- a/tests/generic/498
+++ b/tests/generic/498
@@ -58,7 +58,6 @@  _flakey_drop_and_remount
 [ -f $SCRATCH_MNT/B/foo ] || echo "file B/foo is missing"
 
 _unmount_flakey
-_cleanup_flakey
 
 echo "Silence is golden"
 status=0