mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ACPICA: debugger: remove unnecessary parentheses
@ 2019-12-16  1:37 Chen Zhou
  0 siblings, 0 replies; only message in thread
From: Chen Zhou @ 2019-12-16  1:37 UTC (permalink / raw)
  To: robert.moore, erik.schmauss, rafael.j.wysocki
  Cc: linux-acpi, linux-kernel, chenzhou10

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-16  1:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  1:37 [PATCH] ACPICA: debugger: remove unnecessary parentheses Chen Zhou

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®