Skip to contentSkip to conversation

drivers: acpi: Remove braces for single line statement following a control statement

PATCH Applied Jonathan Bergh 1 participant 1 message Sep 28, 2023 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 drivers: acpi: Remove braces for single line statement following a control statement

Removed braces which are not required for single line statements which follow a control statement.

---
 drivers/acpi/utils.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/acpi/utils.c +1 -2
index 300646bf8ba7..9a95b37a3352 100644
@@ -342,9 +342,8 @@ acpi_evaluate_reference(acpi_handle handle,
 	u32 i = 0;
 
 
-	if (!list) {
+	if (!list)
 		return AE_BAD_PARAMETER;
-	}
 
 	/* Evaluate object. */
 
Signature · 1 line
2.34.1