diff mbox

ACPICA Release 20100528 linuxized patches

Message ID 1275444837.3431.11.camel@minggr.sh.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lin Ming June 2, 2010, 2:13 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index 38293fd..00a444f 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -698,15 +698,7 @@  acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
 	ACPI_MEMSET(buffer, 0, buffer_length);
 	access_bit_width = ACPI_MUL_8(obj_desc->common_field.access_byte_width);
 
-	/* Handle the simple case here */
-
-	if ((obj_desc->common_field.start_field_bit_offset == 0) &&
-	    (obj_desc->common_field.bit_length == access_bit_width)) {
-		status = acpi_ex_field_datum_io(obj_desc, 0, buffer, ACPI_READ);
-		return_ACPI_STATUS(status);
-	}
-
/* TBD: Move to common setup code */
 
 	/* Field algorithm is limited to sizeof(u64), truncate if needed */