diff options
| author | 2025-05-22 16:37:26 -0700 | |
|---|---|---|
| committer | 2025-07-10 13:13:26 +0200 | |
| commit | e638081751a292560a8aed36ec72e8f65b057892 (patch) | |
| tree | 2a70788b8005288b1468fa258d66918cee3b9a52 /arch/x86/lib/cache-smp.c | |
| parent | drm/gpu: Remove dead checks on wbinvd_on_all_cpus()'s return value (diff) | |
| download | wireguard-linux-e638081751a292560a8aed36ec72e8f65b057892.tar.xz wireguard-linux-e638081751a292560a8aed36ec72e8f65b057892.zip | |
x86/lib: Drop the unused return value from wbinvd_on_all_cpus()
Drop wbinvd_on_all_cpus()'s return value; both the "real" version and the
stub always return '0', and none of the callers check the return.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250522233733.3176144-3-seanjc@google.com
Diffstat (limited to 'arch/x86/lib/cache-smp.c')
| -rw-r--r-- | arch/x86/lib/cache-smp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/cache-smp.c b/arch/x86/lib/cache-smp.c index 7af743bd3b13..079c3f3cd32c 100644 --- a/arch/x86/lib/cache-smp.c +++ b/arch/x86/lib/cache-smp.c @@ -14,9 +14,8 @@ void wbinvd_on_cpu(int cpu) } EXPORT_SYMBOL(wbinvd_on_cpu); -int wbinvd_on_all_cpus(void) +void wbinvd_on_all_cpus(void) { on_each_cpu(__wbinvd, NULL, 1); - return 0; } EXPORT_SYMBOL(wbinvd_on_all_cpus); |
