* [PATCH] x86/acpi/boot: Remove unnecessary parentheses
[not found] <20230721082253.5944-1-xujianghui@cdjrlc.com>
@ 2023-07-21 8:24 ` sunran001
0 siblings, 0 replies; only message in thread
From: sunran001 @ 2023-07-21 8:24 UTC (permalink / raw)
To: x86, dave.hansen, bp, mingo, tglx; +Cc: linux-kernel
Fix "return is not a function, parentheses are not required" checkpatch
error.
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
arch/x86/kernel/acpi/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 457f1f6622d0..31c0cb4b16e2 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -860,7 +860,7 @@ int acpi_unmap_cpu(int cpu)
set_cpu_present(cpu, false);
num_processors--;
- return (0);
+ return 0;
}
EXPORT_SYMBOL(acpi_unmap_cpu);
#endif /* CONFIG_ACPI_HOTPLUG_CPU */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-21 8:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230721082253.5944-1-xujianghui@cdjrlc.com>
2023-07-21 8:24 ` [PATCH] x86/acpi/boot: Remove unnecessary parentheses sunran001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®