Merge back ACPICA material for v4.13.
[muen/linux.git] / drivers / acpi / acpica / utresrc.c
index 5fa992027b74f69bffce81629f5b59aca349acfa..70f78a4bf13b84d561a6b76e24e33b4372a87f12 100644 (file)
@@ -237,15 +237,6 @@ acpi_ut_walk_aml_resources(struct acpi_walk_state *walk_state,
                                return_ACPI_STATUS(AE_AML_NO_RESOURCE_END_TAG);
                        }
 
-                       /*
-                        * The end_tag opcode must be followed by a zero byte.
-                        * Although this byte is technically defined to be a checksum,
-                        * in practice, all ASL compilers set this byte to zero.
-                        */
-                       if (*(aml + 1) != 0) {
-                               return_ACPI_STATUS(AE_AML_NO_RESOURCE_END_TAG);
-                       }
-
                        /* Return the pointer to the end_tag if requested */
 
                        if (!user_function) {