projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4e502
)
ACPICA: AcpiGetObjectInfo: optimize exit for mutex failure.
author
Bob Moore
<robert.moore@intel.com>
Wed, 19 Dec 2012 05:38:36 +0000
(
05:38
+0000)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:19 +0000
(12:36 +0100)
No need for a goto to the bottom of the function, simply return
the status code immediately.
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/nsxfname.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpica/nsxfname.c
b/drivers/acpi/acpica/nsxfname.c
index
520bab4
..
a8deae8
100644
(file)
--- a/
drivers/acpi/acpica/nsxfname.c
+++ b/
drivers/acpi/acpica/nsxfname.c
@@
-290,7
+290,7
@@
acpi_get_object_info(acpi_handle handle,
status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
if (ACPI_FAILURE(status)) {
-
goto cleanup
;
+
return (status)
;
}
node = acpi_ns_validate_handle(handle);