Skip to content

Commit 9d4e27d

Browse files
icojb25rafaeljw
authored andcommitted
ACPI: OSL: Remove redundant parentheses in return statements
Fix up three return statements including redundant perens around the return value. Signed-off-by: Jonathan Bergh <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 92002fb commit 9d4e27d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/acpi/osl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t **cache)
15781578
acpi_status acpi_os_purge_cache(acpi_cache_t *cache)
15791579
{
15801580
kmem_cache_shrink(cache);
1581-
return (AE_OK);
1581+
return AE_OK;
15821582
}
15831583

15841584
/*******************************************************************************
@@ -1597,7 +1597,7 @@ acpi_status acpi_os_purge_cache(acpi_cache_t *cache)
15971597
acpi_status acpi_os_delete_cache(acpi_cache_t *cache)
15981598
{
15991599
kmem_cache_destroy(cache);
1600-
return (AE_OK);
1600+
return AE_OK;
16011601
}
16021602

16031603
/*******************************************************************************
@@ -1617,7 +1617,7 @@ acpi_status acpi_os_delete_cache(acpi_cache_t *cache)
16171617
acpi_status acpi_os_release_object(acpi_cache_t *cache, void *object)
16181618
{
16191619
kmem_cache_free(cache, object);
1620-
return (AE_OK);
1620+
return AE_OK;
16211621
}
16221622
#endif
16231623

0 commit comments

Comments
 (0)