lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <260758dc7d70a6bb7f5d5c5717696f63@208suo.com>
Date:   Fri, 21 Jul 2023 08:24:08 +0000
From:   sunran001@...suo.com
To:     x86@...nel.org, dave.hansen@...ux.intel.com, bp@...en8.de,
        mingo@...hat.com, tglx@...utronix.de
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] x86/acpi/boot: Remove unnecessary parentheses

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

Signed-off-by: Ran Sun <sunran001@...suo.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 */

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ