rteval/rteval-Remove-unused-function-remove_offline.patch
John Kacur 726ffcefd2 Convert spec file to use pyproject.toml build system
- Convert spec file to use pyproject.toml build system
- Add 8 patches from upstream (spelling fixes, typo corrections, cleanups)
- Modernize packaging with %pyproject_wheel and %pyproject_install macros
- Bump release to 3.9-6

Resolves: RHEL-114900

Signed-off-by: John Kacur <jkacur@redhat.com>
2025-10-31 19:03:40 -04:00

34 lines
881 B
Diff

From e18cc3a11f982609cba26da5a341ecb457630ebd Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Sun, 12 Oct 2025 13:20:30 -0400
Subject: [PATCH 3/8] rteval: Remove unused function remove_offline
Remove unused function remove_offline()
Signed-off-by: John Kacur <jkacur@redhat.com>
---
rteval-cmd | 7 -------
1 file changed, 7 deletions(-)
diff --git a/rteval-cmd b/rteval-cmd
index b936ade23d86..7af179321fe2 100755
--- a/rteval-cmd
+++ b/rteval-cmd
@@ -207,13 +207,6 @@ def parse_options(cfg, parser, cmdargs):
return cmd_args
-def remove_offline(cpulist):
- """ return cpulist in collapsed compressed form with only online cpus """
- tmplist = expand_cpulist(cpulist)
- tmplist = SysTopology().online_cpulist(tmplist)
- return collapse_cpulist(tmplist)
-
-
if __name__ == '__main__':
from rteval.sysinfo import dmi
--
2.51.1