aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 068fe4f100b0..2ed2d701f6e1 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -569,7 +569,7 @@ static void acpi_os_execute_deferred(void *context)
569 struct acpi_os_dpc *dpc = NULL; 569 struct acpi_os_dpc *dpc = NULL;
570 570
571 571
572 dpc = (struct acpi_os_dpc *)context; 572 dpc = context;
573 if (!dpc) { 573 if (!dpc) {
574 printk(KERN_ERR PREFIX "Invalid (NULL) context\n"); 574 printk(KERN_ERR PREFIX "Invalid (NULL) context\n");
575 return; 575 return;
@@ -1060,7 +1060,7 @@ acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1060 1060
1061acpi_status acpi_os_purge_cache(acpi_cache_t * cache) 1061acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
1062{ 1062{
1063 (void)kmem_cache_shrink(cache); 1063 kmem_cache_shrink(cache);
1064 return (AE_OK); 1064 return (AE_OK);
1065} 1065}
1066 1066