summaryrefslogtreecommitdiff
path: root/source/compiler/dttable.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dttable.c')
-rw-r--r--source/compiler/dttable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler/dttable.c b/source/compiler/dttable.c
index d7b2e90f3949..22b4c9c4c165 100644
--- a/source/compiler/dttable.c
+++ b/source/compiler/dttable.c
@@ -1824,7 +1824,7 @@ DtCompileIvrs (
if (IvrsHeader->Type == ACPI_IVRS_TYPE_HARDWARE)
{
while (*PFieldList &&
- !ACPI_STRCMP ((*PFieldList)->Name, "Entry Type"))
+ !strcmp ((*PFieldList)->Name, "Entry Type"))
{
SubtableStart = *PFieldList;
DtCompileInteger (&EntryType, *PFieldList, 1, 0);
@@ -3403,13 +3403,13 @@ DtCompileGeneric (
/* Now we can actually compile the parse tree */
- if (*Length)
+ if (Length && *Length)
{
*Length = 0;
}
while (*PFieldList)
{
- if (Name && !ACPI_STRCMP ((*PFieldList)->Name, Name))
+ if (Name && !strcmp ((*PFieldList)->Name, Name))
{
break;
}