aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/compiler/dtcompile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/dtcompile.c')
-rw-r--r--sys/contrib/dev/acpica/compiler/dtcompile.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/contrib/dev/acpica/compiler/dtcompile.c b/sys/contrib/dev/acpica/compiler/dtcompile.c
index 26f0a3deb7e2..be03f45d90cc 100644
--- a/sys/contrib/dev/acpica/compiler/dtcompile.c
+++ b/sys/contrib/dev/acpica/compiler/dtcompile.c
@@ -240,8 +240,7 @@ DtDoCompile (
DtError (ASL_ERROR, ASL_MSG_SYNTAX, NULL,
"Input file does not appear to be an ASL or data table source file");
- Status = AE_ERROR;
- goto CleanupAndExit;
+ return (AE_ERROR);
}
Event = UtBeginEvent ("Compile parse tree");
@@ -259,7 +258,7 @@ DtDoCompile (
DtError (ASL_ERROR, ASL_MSG_SYNTAX, NULL,
"Could not compile input file");
- goto CleanupAndExit;
+ return (Status);
}
/* Create/open the binary output file */
@@ -268,7 +267,7 @@ DtDoCompile (
Status = FlOpenAmlOutputFile (AslGbl_OutputFilenamePrefix);
if (ACPI_FAILURE (Status))
{
- goto CleanupAndExit;
+ return (Status);
}
/* Write the binary, then the optional hex file */
@@ -277,10 +276,6 @@ DtDoCompile (
HxDoHexOutput ();
DtWriteTableToListing ();
-CleanupAndExit:
-
- AcpiUtDeleteCaches ();
- CmCleanupAndExit ();
return (Status);
}