summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGokul K <gokul02k@gmail.com>2026-09-18 17:06:31 +0530
committerSean Christopherson <seanjc@google.com>2026-09-30 05:38:02 -0700
commit3bac3b77c5e6b4403701cab9df43030daf984a2e (patch)
treed0deec0580f3cf75080cfbf44df842606d3b938d /tools/perf/scripts/python
parent3069f4036dff6a36936c9f43f38c408db58bc846 (diff)
KVM: selftests: Delete the unused guest_snprintf()
Delete guest_snprintf() as it isn't used, has never been used, and in all likelihood will never be used. Because variadic functions can't pass along va_args verbatim, guest_snprintf() can't be used as-is by things like ucall_fmt(). guest_snprintf() could be used to dedup the ucall code by turning it into a macro, but that would still require implicitly consuming the caller's variadic arguments and would risk creating variable shadows, i.e. introduces fragility for very little benefit. No functional change intended. Link: https://lore.kernel.org/all/20260930002238.649421F000FF@smtp.kernel.org Signed-off-by: Gokul K <gokul02k@gmail.com> Closes: https://lore.kernel.org/all/20260918113631.634233-4-gokul02k@gmail.com Link: https://patch.msgid.link/20260918113631.634233-4-gokul02k@gmail.com [sean: massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions