diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-29 07:58:34 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-29 07:58:34 -0500 |
commit | 64e94e7e0ffb20ee11a596aa04fcdeefb33e000d (patch) | |
tree | 9ef0331d6c207b54502906c239b40220e8113502 /drivers/acpi/dock.c | |
parent | 2c0d4fe0189ae5e29fd9602d5b83f3b2b169bd1b (diff) | |
parent | c511cc1990bbc263c3f8a2ef4d7d613a3b40ffe2 (diff) |
Merge branch 'acpi-scan' into acpi-cleanup
The following commits depend on the 'acpi-scan' material.
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 420d24fc9388..78648f811049 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -336,13 +336,9 @@ static struct acpi_device * dock_create_acpi_device(acpi_handle handle) | |||
336 | static void dock_remove_acpi_device(acpi_handle handle) | 336 | static void dock_remove_acpi_device(acpi_handle handle) |
337 | { | 337 | { |
338 | struct acpi_device *device; | 338 | struct acpi_device *device; |
339 | int ret; | ||
340 | 339 | ||
341 | if (!acpi_bus_get_device(handle, &device)) { | 340 | if (!acpi_bus_get_device(handle, &device)) |
342 | ret = acpi_bus_trim(device); | 341 | acpi_bus_trim(device); |
343 | if (ret) | ||
344 | pr_debug("error removing bus, %x\n", -ret); | ||
345 | } | ||
346 | } | 342 | } |
347 | 343 | ||
348 | /** | 344 | /** |