summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_memhotplug.c
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-05-19 22:54:49 +0200
committerLen Brown <len.brown@intel.com>2006-06-30 08:50:43 +0200
commit9453ece92688fedd7755d2ea54b2efe88822a91b (patch)
treead5a986b4e8e2911ac41181a4e555cf6e163ff26 /drivers/acpi/acpi_memhotplug.c
parentACPI: ac: Remove unneeded acpi_handle from driver. (diff)
downloadlinux-9453ece92688fedd7755d2ea54b2efe88822a91b.tar.xz
linux-9453ece92688fedd7755d2ea54b2efe88822a91b.zip
ACPI: acpi_memhotplug: Remove unneeded acpi_handle from driver.
Signed-off-by: Patrick Mochel <mochel@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_memhotplug.c')
-rw-r--r--drivers/acpi/acpi_memhotplug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c
index a8860de2feff..97863143d21d 100644
--- a/drivers/acpi/acpi_memhotplug.c
+++ b/drivers/acpi/acpi_memhotplug.c
@@ -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);