Commit 392829e
committed
ACPI: OSL: Rework error handling in acpi_os_execute()
Reduce the number of checks and goto labels related to error handling
in acpi_os_execute() and drop the status local variable, which turns
out to be redundant, from it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>1 parent 7a36b90 commit 392829e
1 file changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
1064 | 1063 | | |
1065 | 1064 | | |
1066 | 1065 | | |
| |||
1073 | 1072 | | |
1074 | 1073 | | |
1075 | 1074 | | |
1076 | | - | |
| 1075 | + | |
1077 | 1076 | | |
1078 | | - | |
| 1077 | + | |
1079 | 1078 | | |
1080 | 1079 | | |
1081 | 1080 | | |
| |||
1107 | 1106 | | |
1108 | 1107 | | |
1109 | 1108 | | |
1110 | | - | |
| 1109 | + | |
1111 | 1110 | | |
1112 | 1111 | | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | 1112 | | |
1117 | 1113 | | |
1118 | 1114 | | |
| |||
1123 | 1119 | | |
1124 | 1120 | | |
1125 | 1121 | | |
1126 | | - | |
| 1122 | + | |
1127 | 1123 | | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1133 | 1130 | | |
1134 | 1131 | | |
1135 | 1132 | | |
| |||
0 commit comments