summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2015-12-03 03:42:38 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-15 00:17:43 +0100
commit96889231fbc047be91a49d953f50c9f747bc9f89 (patch)
treec019bb5a7709a02b8117ebae967bc54b4e838573 /drivers/acpi/acpica
parentLinux 4.4-rc5 (diff)
downloadlinux-96889231fbc047be91a49d953f50c9f747bc9f89.tar.xz
linux-96889231fbc047be91a49d953f50c9f747bc9f89.zip
ACPICA: Debugger: Remove unnecessary status check
ACPICA commit f9d5c6c9a25e9f5ac05458bfcd8b381e21bb2ba5 ACPICA BZ 1205. Colin Ian King. Link: https://bugs.acpica.org/show_bug.cgi?id=1205 Link: https://github.com/acpica/acpica/commit/f9d5c6c9 Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/dbinput.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/dbinput.c b/drivers/acpi/acpica/dbinput.c
index 0480254437f1..fe93f6776553 100644
--- a/drivers/acpi/acpica/dbinput.c
+++ b/drivers/acpi/acpica/dbinput.c
@@ -1246,9 +1246,6 @@ acpi_status acpi_db_user_commands(char prompt, union acpi_parse_object *op)
* and wait for the command to complete.
*/
acpi_os_release_mutex(acpi_gbl_db_command_ready);
- if (ACPI_FAILURE(status)) {
- return (status);
- }
status =
acpi_os_acquire_mutex(acpi_gbl_db_command_complete,