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: Tom Rix <trix@redhat.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
cf1d2b44f6
commit
abcba2e135
|
@ -104,7 +104,6 @@ acpi_extract_package(union acpi_object *package,
|
|||
" [%c]\n",
|
||||
i, format_string[i]);
|
||||
return AE_BAD_DATA;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -129,7 +128,6 @@ acpi_extract_package(union acpi_object *package,
|
|||
" expecting [%c]\n",
|
||||
i, format_string[i]);
|
||||
return AE_BAD_DATA;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case ACPI_TYPE_LOCAL_REFERENCE:
|
||||
|
@ -144,7 +142,6 @@ acpi_extract_package(union acpi_object *package,
|
|||
" expecting [%c]\n",
|
||||
i, format_string[i]);
|
||||
return AE_BAD_DATA;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -155,7 +152,6 @@ acpi_extract_package(union acpi_object *package,
|
|||
i));
|
||||
/* TBD: handle nested packages... */
|
||||
return AE_SUPPORT;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue