summaryrefslogtreecommitdiff
path: root/source/compiler/dtfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtfield.c')
-rw-r--r--source/compiler/dtfield.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c
index 13e8b6388019..b06877a8f84a 100644
--- a/source/compiler/dtfield.c
+++ b/source/compiler/dtfield.c
@@ -628,15 +628,9 @@ DtCompileFlag (
UINT64 Value = 0;
UINT32 BitLength = 1;
UINT8 BitPosition = 0;
- ACPI_STATUS Status;
- Status = AcpiUtStrtoul64 (Field->Value,
- (ACPI_STRTOUL_64BIT | ACPI_STRTOUL_BASE16), &Value);
- if (ACPI_FAILURE (Status))
- {
- DtError (ASL_ERROR, ASL_MSG_INVALID_HEX_INTEGER, Field, NULL);
- }
+ Value = AcpiUtImplicitStrtoul64 (Field->Value);
switch (Info->Opcode)
{