From: Chen Zhou <chenzhou10@huawei.com>
To: <robert.moore@intel.com>, <erik.schmauss@intel.com>,
<rafael.j.wysocki@intel.com>
Cc: <linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<chenzhou10@huawei.com>
Subject: [PATCH] ACPICA: debugger: remove unnecessary parentheses
Date: Mon, 16 Dec 2019 09:37:36 +0800 [thread overview]
Message-ID: <20191216013736.170949-1-chenzhou10@huawei.com> (raw)
Remove unnecessary parentheses found by checkpatch
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
---
drivers/acpi/acpica/dbinput.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/acpi/acpica/dbinput.c b/drivers/acpi/acpica/dbinput.c
index e1632b3..8470df94 100644
--- a/drivers/acpi/acpica/dbinput.c
+++ b/drivers/acpi/acpica/dbinput.c
@@ -738,7 +738,7 @@ acpi_db_command_dispatch(char *input_buffer,
case CMD_NULL:
if (op) {
- return (AE_OK);
+ return AE_OK;
}
break;
@@ -818,7 +818,7 @@ acpi_db_command_dispatch(char *input_buffer,
acpi_os_printf
("Invalid adress space ID: must be between 0 and %u inclusive\n",
ACPI_NUM_PREDEFINED_REGIONS - 1);
- return (AE_OK);
+ return AE_OK;
}
status = acpi_db_display_fields((u32)temp64);
@@ -827,7 +827,7 @@ acpi_db_command_dispatch(char *input_buffer,
case CMD_GO:
acpi_gbl_cm_single_step = FALSE;
- return (AE_OK);
+ return AE_OK;
case CMD_HANDLERS:
@@ -879,7 +879,7 @@ acpi_db_command_dispatch(char *input_buffer,
if (op) {
acpi_gbl_cm_single_step = TRUE;
- return (AE_OK);
+ return AE_OK;
}
break;
--
2.7.4
reply other threads:[~2019-12-16 1:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20191216013736.170949-1-chenzhou10@huawei.com \
--to=chenzhou10@huawei.com \
--cc=erik.schmauss@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=robert.moore@intel.com \
/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®