diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-10-01 00:28:50 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 01:51:07 -0400 |
commit | 50dd096973f1d95aa03c6a6d9e148d706b62b68e (patch) | |
tree | 1f047b9c574672c133559922af5d4aee2816b9ae /drivers/acpi/osl.c | |
parent | b4bd8c66435a8cdf8c90334fb3b517a23ff2ab95 (diff) | |
download | op-kernel-dev-50dd096973f1d95aa03c6a6d9e148d706b62b68e.zip op-kernel-dev-50dd096973f1d95aa03c6a6d9e148d706b62b68e.tar.gz |
ACPI: Remove unnecessary from/to-void* and to-void casts in drivers/acpi
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 068fe4f..2ed2d70 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -569,7 +569,7 @@ static void acpi_os_execute_deferred(void *context) struct acpi_os_dpc *dpc = NULL; - dpc = (struct acpi_os_dpc *)context; + dpc = context; if (!dpc) { printk(KERN_ERR PREFIX "Invalid (NULL) context\n"); return; @@ -1060,7 +1060,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) { - (void)kmem_cache_shrink(cache); + kmem_cache_shrink(cache); return (AE_OK); } |