aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/compiler/dtcompile.c
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-05-13 18:25:55 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-05-13 18:25:55 +0000
commit7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0 (patch)
treeca719c54da5b3133ae25fe32bba5b0dac584e56e /sys/contrib/dev/acpica/compiler/dtcompile.c
parent8350cbd8d64924fc1673eb4735ac7220bf5dfd37 (diff)
parentaf1f58df9938e12acbe5fab69890c59684415902 (diff)
Notes
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);
}