diff mbox series

[2/3] drivers: acpi: Remove parentheses where return value is not a function

Message ID 20230930090421.35831-1-bergh.jonathan@gmail.com
State New
Headers show
Series [1/3] drivers: acpi: Fix pointer declarations in parameter lists which included whitespace spuriously | expand

Commit Message

Jonathan Bergh Sept. 30, 2023, 9:04 a.m. UTC
Fixed formatting issue where return value from a function is not a
function but was wrapped in parentheses, causing checkpatch to flag
an error.

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

Patch

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 29e0005c30aa..dbbccb612277 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1578,7 +1578,7 @@  acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t **cache)
 acpi_status acpi_os_purge_cache(acpi_cache_t *cache)
 {
 	kmem_cache_shrink(cache);
-	return (AE_OK);
+	return AE_OK;
 }
 
 /*******************************************************************************
@@ -1597,7 +1597,7 @@  acpi_status acpi_os_purge_cache(acpi_cache_t *cache)
 acpi_status acpi_os_delete_cache(acpi_cache_t *cache)
 {
 	kmem_cache_destroy(cache);
-	return (AE_OK);
+	return AE_OK;
 }
 
 /*******************************************************************************
@@ -1617,7 +1617,7 @@  acpi_status acpi_os_delete_cache(acpi_cache_t *cache)
 acpi_status acpi_os_release_object(acpi_cache_t *cache, void *object)
 {
 	kmem_cache_free(cache, object);
-	return (AE_OK);
+	return AE_OK;
 }
 #endif