Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33421
b: refs/heads/master
c: 07dd485
h: refs/heads/master
i:
  33419: 6226b8a
v: v3
  • Loading branch information
Yasunori Goto authored and Len Brown committed Aug 16, 2006
1 parent f2de352 commit 130628f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9a315bcae3b9e0c54fb68ef90d0095956314480
refs/heads/master: 07dd4855e7fffeb50565826e5e736509ee8f6129
8 changes: 2 additions & 6 deletions trunk/drivers/acpi/acpi_memhotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,8 @@ acpi_memory_register_notify_handler(acpi_handle handle,


status = is_memory_device(handle);
if (ACPI_FAILURE(status)){
ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device"));
if (ACPI_FAILURE(status))
return AE_OK; /* continue */
}

status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
acpi_memory_device_notify, NULL);
Expand All @@ -503,10 +501,8 @@ acpi_memory_deregister_notify_handler(acpi_handle handle,


status = is_memory_device(handle);
if (ACPI_FAILURE(status)){
ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device"));
if (ACPI_FAILURE(status))
return AE_OK; /* continue */
}

status = acpi_remove_notify_handler(handle,
ACPI_SYSTEM_NOTIFY,
Expand Down

0 comments on commit 130628f

Please sign in to comment.