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>
This commit is contained in:
committed by
Len Brown
parent
b4bd8c6643
commit
50dd096973
@ -83,7 +83,7 @@ acpi_extract_package(union acpi_object *package,
|
||||
return AE_BAD_DATA;
|
||||
}
|
||||
|
||||
format_string = (char *)format->pointer;
|
||||
format_string = format->pointer;
|
||||
|
||||
/*
|
||||
* Calculate size_required.
|
||||
@ -361,7 +361,7 @@ acpi_evaluate_reference(acpi_handle handle,
|
||||
if (ACPI_FAILURE(status))
|
||||
goto end;
|
||||
|
||||
package = (union acpi_object *)buffer.pointer;
|
||||
package = buffer.pointer;
|
||||
|
||||
if ((buffer.length == 0) || !package) {
|
||||
printk(KERN_ERR PREFIX "No return object (len %X ptr %p)\n",
|
||||
|
Reference in New Issue
Block a user