From d06bd62c4c4258d1cf63d94a2bf046feb846ea25 Mon Sep 17 00:00:00 2001 From: Zorro Lang Date: Mon, 23 Jun 2025 04:39:46 +0800 Subject: [PATCH] common/rc: remove useless _pgrep funcion The _pgrep() function isn't used anymore, remove it. Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- common/rc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/rc b/common/rc index b7e95f03..3c5a54a6 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.39.5