summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorJonathan Bergh <bergh.jonathan@gmail.com>2023-09-30 11:04:21 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-10-03 20:26:21 +0200
commit9d4e27dd88275a8e2a14521b63792f33edca5758 (patch)
tree6f7fb8a9b33929c52df3a929c0ba9387bd65d9e3 /drivers/acpi/osl.c
parent92002fb39e8e4a199231c1c842b07dbbd806ba75 (diff)
downloadlinux-stable-9d4e27dd88275a8e2a14521b63792f33edca5758.tar.gz
linux-stable-9d4e27dd88275a8e2a14521b63792f33edca5758.tar.bz2
linux-stable-9d4e27dd88275a8e2a14521b63792f33edca5758.zip
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 <bergh.jonathan@gmail.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 1ccc9a8d258d..838677010ceb 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