RE: [PATCH -next] ACPICA: Remove unneeded semicolon
From: Moore, Robert
Date: Wed Sep 23 2020 - 13:03:59 EST
Got it, thanks.
Bob
-----Original Message-----
From: Zou Wei <zou_wei@xxxxxxxxxx>
Sent: Tuesday, September 22, 2020 12:49 AM
To: Moore, Robert <robert.moore@xxxxxxxxx>; Kaneda, Erik <erik.kaneda@xxxxxxxxx>; Wysocki, Rafael J <rafael.j.wysocki@xxxxxxxxx>; lenb@xxxxxxxxxx
Cc: linux-acpi@xxxxxxxxxxxxxxx; devel@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Zou Wei <zou_wei@xxxxxxxxxx>
Subject: [PATCH -next] ACPICA: Remove unneeded semicolon
Fixes coccicheck warning:
./drivers/acpi/acpica/nsalloc.c:297:2-3: Unneeded semicolon
Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx>
---
drivers/acpi/acpica/nsalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpica/nsalloc.c b/drivers/acpi/acpica/nsalloc.c index fe9b363..83d26ab 100644
--- a/drivers/acpi/acpica/nsalloc.c
+++ b/drivers/acpi/acpica/nsalloc.c
@@ -294,7 +294,7 @@ void acpi_ns_delete_children(struct acpi_namespace_node *parent_node)
node_to_delete = next_node;
next_node = next_node->peer;
acpi_ns_delete_node(node_to_delete);
- };
+ }
/* Clear the parent's child pointer */
--
2.6.2