diff options
| author | 2026-09-18 17:06:31 +0530 | |
|---|---|---|
| committer | 2026-09-30 05:38:02 -0700 | |
| commit | 3bac3b77c5e6b4403701cab9df43030daf984a2e (patch) | |
| tree | d0deec0580f3cf75080cfbf44df842606d3b938d /scripts/Makefile.thinlto | |
| parent | KVM: selftests: Move test_read() into elf.c and delete lib/io.c (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
