Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1282663

[PATCH v4 1/7] ACPICA: Debugger: Remove unnecessary status check

From Lv Zheng <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject [PATCH v4 1/7] ACPICA: Debugger: Remove unnecessary status check
Date 2015-12-03 03:50 +0100
Message-ID <qBs82-7iq-25@gated-at.bofh.it> (permalink)
References <qrJ0u-Z9-3@gated-at.bofh.it> <qBs81-7iq-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin Ian King <colin.king@canonical.com>

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>
---
 drivers/acpi/acpica/dbinput.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/acpi/acpica/dbinput.c b/drivers/acpi/acpica/dbinput.c
index 0480254..fe93f67 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,
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/7] ACPICA / debugger: Add in-kernel AML debugger support Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100
  [PATCH v4 4/7] ACPI / debugger: Add IO interface to access debugger functionalities Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100
    Re: [PATCH v4 4/7] ACPI / debugger: Add IO interface to access  debugger functionalities Andy Lutomirski <luto@amacapital.net> - 2015-12-03 23:30 +0100
      Re: [PATCH v4 4/7] ACPI / debugger: Add IO interface to access debugger functionalities "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-12-04 00:10 +0100
  [PATCH v4 5/7] tools/power/acpi: Add userspace AML interface support Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100
  [PATCH v4 2/7] ACPICA: Debugger: Convert some mechanisms to OSPM specific Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100
  [PATCH v4 1/7] ACPICA: Debugger: Remove unnecessary status check Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100
  [PATCH v4 3/7] ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism Lv Zheng <lv.zheng@intel.com> - 2015-12-03 03:50 +0100

csiph-web