The _pgrep() function isn't used anymore, remove it. Signed-off-by: Zorro Lang <zlang@xxxxxxxxxx> --- common/rc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/rc b/common/rc index fbab26b25..a27f87a0b 100644 --- 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 -- 2.47.1