commit: c9a4d0fb09890a5283594462b773c56df99cf2fd Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> AuthorDate: Fri Feb 20 17:59:37 2026 +0000 Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> CommitDate: Fri Feb 20 17:59:37 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a4d0fb
dev-util/perf: remove unused patch Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> dev-util/perf/files/perf-6.18-subcmd.patch | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/dev-util/perf/files/perf-6.18-subcmd.patch b/dev-util/perf/files/perf-6.18-subcmd.patch deleted file mode 100644 index e3e067efdd07..000000000000 --- a/dev-util/perf/files/perf-6.18-subcmd.patch +++ /dev/null @@ -1,27 +0,0 @@ -Fix for --help command when no commands are excluded. - -Link: https://lore.kernel.org/lkml/[email protected]/ - -See also: https://lore.kernel.org/lkml/[email protected]/ - ---- a/tools/lib/subcmd/help.c -+++ b/tools/lib/subcmd/help.c -@@ -97,11 +97,13 @@ void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) - ei++; - } - } -- if (ci != cj) { -- while (ci < cmds->cnt) { -- cmds->names[cj++] = cmds->names[ci]; -- cmds->names[ci++] = NULL; -+ while (ci < cmds->cnt) { -+ if (ci != cj) { -+ cmds->names[cj] = cmds->names[ci]; -+ cmds->names[ci] = NULL; - } -+ ci++; -+ cj++; - } - for (ci = cj; ci < cmds->cnt; ci++) - assert(cmds->names[ci] == NULL); ---
