ACPI: acpi_memhotplug: Remove unneeded acpi_handle from driver.
authorPatrick Mochel <mochel@linux.intel.com>
Fri, 19 May 2006 20:54:49 +0000 (16:54 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Jun 2006 06:50:43 +0000 (02:50 -0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpi_memhotplug.c

index a8860de2feff5260cb49b9caa6ebd8c2563a46be..97863143d21d2c030fc77b6d71c8911d71feb14f 100644 (file)
@@ -80,7 +80,6 @@ struct acpi_memory_info {
 };
 
 struct acpi_memory_device {
-       acpi_handle handle;
        struct acpi_device * device;
        unsigned int state;     /* State of the memory device */
        struct list_head res_list;
@@ -399,7 +398,6 @@ static int acpi_memory_device_add(struct acpi_device *device)
        memset(mem_device, 0, sizeof(struct acpi_memory_device));
 
        INIT_LIST_HEAD(&mem_device->res_list);
-       mem_device->device->handle = device->handle;
        mem_device->device = device;
        sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME);
        sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS);
This page took 0.025222 seconds and 5 git commands to generate.