diff mbox series

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

Message ID 20230928214823.43427-1-bergh.jonathan@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series [1/2] drivers: acpi: Fix label indentation and leading comma formatting issues | expand

Commit Message

Jonathan Bergh Sept. 28, 2023, 9:48 p.m. UTC
Removed braces which are not required for single line statements which
follow a control statement.

Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
---
 drivers/acpi/utils.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c
index 300646bf8ba7..9a95b37a3352 100644
--- a/drivers/acpi/utils.c
+++ b/drivers/acpi/utils.c
@@ -342,9 +342,8 @@  acpi_evaluate_reference(acpi_handle handle,
 	u32 i = 0;
 
 
-	if (!list) {
+	if (!list)
 		return AE_BAD_PARAMETER;
-	}
 
 	/* Evaluate object. */