From: Darrick J. Wong Date: Thu, 7 May 2026 22:11:43 +0000 (-0700) Subject: xfs_scrub_all: remove dead code X-Git-Tag: v7.0.1~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7329ba24ac39ba44646f5b7516415662f805a91b;p=xfsprogs-dev.git xfs_scrub_all: remove dead code Remove the unused backtick() function. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig --- diff --git a/scrub/xfs_scrub_all.py.in b/scrub/xfs_scrub_all.py.in index dbb6c36e..3f618587 100644 --- a/scrub/xfs_scrub_all.py.in +++ b/scrub/xfs_scrub_all.py.in @@ -69,12 +69,6 @@ def find_mounts(): return fs -def backtick(cmd): - '''Generator function that yields lines of a program's stdout.''' - p = subprocess.Popen(cmd, stdout = subprocess.PIPE) - for line in TextIOWrapper(p.stdout, encoding="utf-8"): - yield line.strip() - def remove_killfunc(killfuncs, fn): '''Ensure fn is not in killfuncs.''' try: