patch-2.4.2 linux/drivers/acpi/resources/rslist.c

Next file: linux/drivers/acpi/tables/tbconvrt.c
Previous file: linux/drivers/acpi/resources/rsdump.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/acpi/resources/rslist.c linux/drivers/acpi/resources/rslist.c
@@ -2,7 +2,7 @@
  *
  * Module Name: rslist - Acpi_rs_byte_stream_to_list
  *                       Acpi_list_to_byte_stream
- *              $Revision: 10 $
+ *              $Revision: 11 $
  *
  ******************************************************************************/
 
@@ -302,9 +302,7 @@
 	/*
 	 * Check the reason for exiting the while loop
 	 */
-	if (!(byte_stream_buffer_length == bytes_parsed) ||
-		 (TRUE != end_tag_processed))
-	{
+	if (TRUE != end_tag_processed) {
 		return (AE_AML_ERROR);
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)