Commit abcba2e1 authored by Tom Rix's avatar Tom Rix Committed by Rafael J. Wysocki

ACPI: utils: remove unreachable breaks

A break following a return statement is pointless, so drop all of
the breaks following return statements from this file.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent cf1d2b44
...@@ -104,7 +104,6 @@ acpi_extract_package(union acpi_object *package, ...@@ -104,7 +104,6 @@ acpi_extract_package(union acpi_object *package,
" [%c]\n", " [%c]\n",
i, format_string[i]); i, format_string[i]);
return AE_BAD_DATA; return AE_BAD_DATA;
break;
} }
break; break;
...@@ -129,7 +128,6 @@ acpi_extract_package(union acpi_object *package, ...@@ -129,7 +128,6 @@ acpi_extract_package(union acpi_object *package,
" expecting [%c]\n", " expecting [%c]\n",
i, format_string[i]); i, format_string[i]);
return AE_BAD_DATA; return AE_BAD_DATA;
break;
} }
break; break;
case ACPI_TYPE_LOCAL_REFERENCE: case ACPI_TYPE_LOCAL_REFERENCE:
...@@ -144,7 +142,6 @@ acpi_extract_package(union acpi_object *package, ...@@ -144,7 +142,6 @@ acpi_extract_package(union acpi_object *package,
" expecting [%c]\n", " expecting [%c]\n",
i, format_string[i]); i, format_string[i]);
return AE_BAD_DATA; return AE_BAD_DATA;
break;
} }
break; break;
...@@ -155,7 +152,6 @@ acpi_extract_package(union acpi_object *package, ...@@ -155,7 +152,6 @@ acpi_extract_package(union acpi_object *package,
i)); i));
/* TBD: handle nested packages... */ /* TBD: handle nested packages... */
return AE_SUPPORT; return AE_SUPPORT;
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment