From: Bjorn Helgaas Date: Tue, 24 Mar 2009 16:55:33 +0000 (-0600) Subject: ACPI: remove unused acpi_bus_ops flags X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8308e8ab70fd5d7b78afb133c51c5079548ba84f;p=linux-2.6-omap-h63xx.git ACPI: remove unused acpi_bus_ops flags In acpi_bus_ops, only the acpi_op_add and acpi_op_start flags are used, so remove all the rest. Signed-off-by: Bjorn Helgaas Signed-off-by: Len Brown --- diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index fb91bc21378..08ec60c8366 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -98,17 +98,7 @@ typedef int (*acpi_op_unbind) (struct acpi_device * device); struct acpi_bus_ops { u32 acpi_op_add:1; - u32 acpi_op_remove:1; - u32 acpi_op_lock:1; u32 acpi_op_start:1; - u32 acpi_op_stop:1; - u32 acpi_op_suspend:1; - u32 acpi_op_resume:1; - u32 acpi_op_scan:1; - u32 acpi_op_bind:1; - u32 acpi_op_unbind:1; - u32 acpi_op_shutdown:1; - u32 reserved:21; }; struct acpi_device_ops {