From: Len Brown Date: Fri, 3 Aug 2007 21:55:53 +0000 (-0400) Subject: ACPI: EC: fix build warning X-Git-Tag: MMI-PSA29.97-13-9~40779^2~3^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52fe4bdf40bc07498c5f7935551774e8f8458190;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ACPI: EC: fix build warning drivers/acpi/ec.c:657: warning: ‘acpi_ec_register_query_methods’ defined but not used Signed-off-by: Len Brown --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 4d7fe829a6e2..629289034b61 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -651,19 +651,6 @@ static struct acpi_ec *make_acpi_ec(void) return ec; } -static acpi_status -acpi_ec_register_query_methods(acpi_handle handle, u32 level, - void *context, void **return_value) -{ - struct acpi_namespace_node *node = handle; - struct acpi_ec *ec = context; - int value = 0; - if (sscanf(node->name.ascii, "_Q%x", &value) == 1) { - acpi_ec_add_query_handler(ec, value, handle, NULL, NULL); - } - return AE_OK; -} - static acpi_status ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) {