* [PATCH 2/2] drivers: acpi: Remove braces for single line statement following a control statement
@ 2023-09-28 21:48 Jonathan Bergh
0 siblings, 0 replies; only message in thread
From: Jonathan Bergh @ 2023-09-28 21:48 UTC (permalink / raw)
To: lenb, rafael; +Cc: linux-acpi, linux-kernel, Jonathan Bergh
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 --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. */
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-28 21:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28 21:48 [PATCH 2/2] drivers: acpi: Remove braces for single line statement following a control statement Jonathan Bergh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox