]> err.no Git - linux-2.6/commitdiff
ACPI: EC: fix build warning
authorLen Brown <len.brown@intel.com>
Fri, 3 Aug 2007 21:55:53 +0000 (17:55 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 3 Aug 2007 21:55:53 +0000 (17:55 -0400)
drivers/acpi/ec.c:657: warning: ‘acpi_ec_register_query_methods’ defined but not used

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c

index 4d7fe829a6e28fab4314d7fa5bc9ea7b34c94d2d..629289034b613f1439ed9067582c0e8f622c2cf1 100644 (file)
@@ -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)
 {