ACPICA: Debugger: Remove unnecessary status check
authorColin Ian King <colin.king@canonical.com>
Thu, 3 Dec 2015 02:42:38 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Dec 2015 23:17:43 +0000 (00:17 +0100)
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>
drivers/acpi/acpica/dbinput.c

index 0480254437f1a30be42b91a920735b18d2b28f95..fe93f6776553bcb442dfd2e9efc11b13415619c3 100644 (file)
@@ -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,