diff options
-rw-r--r-- | drivers/acpi/acpi_memhotplug.c | 2 |
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 { | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | struct acpi_memory_device { | 82 | struct acpi_memory_device { |
83 | acpi_handle handle; | ||
84 | struct acpi_device * device; | 83 | struct acpi_device * device; |
85 | unsigned int state; /* State of the memory device */ | 84 | unsigned int state; /* State of the memory device */ |
86 | struct list_head res_list; | 85 | struct list_head res_list; |
@@ -399,7 +398,6 @@ static int acpi_memory_device_add(struct acpi_device *device) | |||
399 | memset(mem_device, 0, sizeof(struct acpi_memory_device)); | 398 | memset(mem_device, 0, sizeof(struct acpi_memory_device)); |
400 | 399 | ||
401 | INIT_LIST_HEAD(&mem_device->res_list); | 400 | INIT_LIST_HEAD(&mem_device->res_list); |
402 | mem_device->device->handle = device->handle; | ||
403 | mem_device->device = device; | 401 | mem_device->device = device; |
404 | sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME); | 402 | sprintf(acpi_device_name(device), "%s", ACPI_MEMORY_DEVICE_NAME); |
405 | sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS); | 403 | sprintf(acpi_device_class(device), "%s", ACPI_MEMORY_DEVICE_CLASS); |