ACPICA: Standardize all switch() blocks
After many years, different formatting for switch() has crept in. This change makes every switch block identical. Chao Guan. ACPICA bugzilla 997. References: https://bugs.acpica.org/show_bug.cgi?id=997 Signed-off-by: Chao Guan <chao.guan@intel.com> 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>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
b6872ff9a4
commit
1d1ea1b723
@@ -129,6 +129,7 @@ union acpi_operand_object *acpi_ut_create_internal_object_dbg(const char
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
/* All others have no secondary object */
|
||||
break;
|
||||
}
|
||||
@@ -353,6 +354,7 @@ u8 acpi_ut_valid_internal_object(void *object)
|
||||
return (TRUE);
|
||||
|
||||
default:
|
||||
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
|
||||
"%p is not not an ACPI operand obj [%s]\n",
|
||||
object, acpi_ut_get_descriptor_name(object)));
|
||||
@@ -509,7 +511,6 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
|
||||
|
||||
switch (internal_object->reference.class) {
|
||||
case ACPI_REFCLASS_NAME:
|
||||
|
||||
/*
|
||||
* Get the actual length of the full pathname to this object.
|
||||
* The reference will be converted to the pathname to the object
|
||||
@@ -525,7 +526,6 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
/*
|
||||
* No other reference opcodes are supported.
|
||||
* Notably, Locals and Args are not supported, but this may be
|
||||
@@ -585,7 +585,6 @@ acpi_ut_get_element_length(u8 object_type,
|
||||
|
||||
switch (object_type) {
|
||||
case ACPI_COPY_TYPE_SIMPLE:
|
||||
|
||||
/*
|
||||
* Simple object - just get the size (Null object/entry is handled
|
||||
* here also) and sum it into the running package length
|
||||
|
Reference in New Issue
Block a user