]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common/rc: remove useless _pgrep funcion
authorZorro Lang <zlang@kernel.org>
Sun, 22 Jun 2025 20:39:46 +0000 (04:39 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 11 Jul 2025 13:17:39 +0000 (21:17 +0800)
The _pgrep() function isn't used anymore, remove it.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc

index b7e95f03db12d7a084bdf48960335c34bb0957e4..3c5a54a68963808fc04e7cb3d07872411d606a79 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -36,16 +36,6 @@ _pkill()
        pkill "$@"
 }
 
-# Find only the test processes started by this test
-_pgrep()
-{
-       if [ "$FSTESTS_ISOL" = "setsid" ]; then
-               pgrep --session 0 "$@"
-       else
-               pgrep "$@"
-       fi
-}
-
 # Common execution handling for fsstress invocation.
 #
 # We need per-test fsstress binaries because of the way fsstress forks and