Skip to contentSkip to conversation

x86/acpi/boot: Remove unnecessary parentheses

PATCH New [email protected] 1 participant 1 message Jul 21, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 x86/acpi/boot: Remove unnecessary parentheses

Fix "return is not a function, parentheses are not required" checkpatch error.

---
 arch/x86/kernel/acpi/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/acpi/boot.c +1 -1
index 457f1f6622d0..31c0cb4b16e2 100644
@@ -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 */