]> Git Repo - qemu.git/commitdiff
i386, acpi: cleanup build_facs by removing second unused argument
authorWei Yang <[email protected]>
Wed, 30 Jan 2019 03:02:07 +0000 (11:02 +0800)
committerMichael S. Tsirkin <[email protected]>
Tue, 5 Feb 2019 15:58:33 +0000 (10:58 -0500)
The second argument of build_facs() is not used, just remove it.

Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
hw/i386/acpi-build.c

index 26cef4af2d2f21a49408ea03f4698495a4cd25ba..9ecc96dcc71a4e0ba78e7c533a590236c1241f24 100644 (file)
@@ -298,7 +298,7 @@ static void acpi_align_size(GArray *blob, unsigned align)
 
 /* FACS */
 static void
-build_facs(GArray *table_data, BIOSLinker *linker)
+build_facs(GArray *table_data)
 {
     AcpiFacsDescriptorRev1 *facs = acpi_data_push(table_data, sizeof *facs);
     memcpy(&facs->signature, "FACS", 4);
@@ -2637,7 +2637,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
      * requirements.
      */
     facs = tables_blob->len;
-    build_facs(tables_blob, tables->linker);
+    build_facs(tables_blob);
 
     /* DSDT is pointed to by FADT */
     dsdt = tables_blob->len;
This page took 0.024668 seconds and 4 git commands to generate.