mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: x86@kernel.org, dave.hansen@linux.intel.com, bp@alien8.de,
	mingo@redhat.com, tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] x86/acpi/boot: Remove unnecessary parentheses
Date: Fri, 21 Jul 2023 08:24:08 +0000	[thread overview]
Message-ID: <260758dc7d70a6bb7f5d5c5717696f63@208suo.com> (raw)
In-Reply-To: <20230721082253.5944-1-xujianghui@cdjrlc.com>

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 */

           reply	other threads:[~2023-07-21  8:24 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230721082253.5944-1-xujianghui@cdjrlc.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=260758dc7d70a6bb7f5d5c5717696f63@208suo.com \
    --to=sunran001@208suo.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®