mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 17:34:43 +03:00
iASL: getting rid of unnecessary code, no functional change intended
This seems to be an old vestige resulting from some sort of restructuring in iASL. These code snippsets are redundant. In general, iASL needs to do the following: 1.) open all files before starting compilation or disassembly 2.) limit calling AslDoDisassembly() to only two places: for AML disassembly and ASL/ASL+ converter Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
This commit is contained in:
parent
802ec363be
commit
fbff97048d
@ -370,11 +370,6 @@ AslDoDisassembly (
|
||||
return (Status);
|
||||
}
|
||||
|
||||
/* Handle additional output files for disassembler */
|
||||
|
||||
AslGbl_FileType = ASL_INPUT_TYPE_BINARY_ACPI_TABLE;
|
||||
Status = FlOpenMiscOutputFiles (AslGbl_OutputFilenamePrefix);
|
||||
|
||||
/* This is where the disassembly happens */
|
||||
|
||||
AcpiGbl_DmOpt_Disasm = TRUE;
|
||||
@ -458,18 +453,6 @@ AslDoOneFile (
|
||||
strcpy (AslGbl_Files[ASL_FILE_INPUT].Filename, Filename);
|
||||
UtConvertBackslashes (AslGbl_Files[ASL_FILE_INPUT].Filename);
|
||||
|
||||
/*
|
||||
* AML Disassembly (Optional)
|
||||
*/
|
||||
if (AcpiGbl_DisasmFlag)
|
||||
{
|
||||
Status = AslDoDisassembly ();
|
||||
if (Status != AE_CTRL_CONTINUE)
|
||||
{
|
||||
return (Status);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Open the input file. Here, this should be an ASCII source file,
|
||||
* either an ASL file or a Data Table file
|
||||
|
Loading…
x
Reference in New Issue
Block a user