Commit 009180bd authored by Wei Yang's avatar Wei Yang Committed by Michael S. Tsirkin
Browse files

i386, acpi: cleanup build_facs by removing second unused argument



The second argument of build_facs() is not used, just remove it.

Signed-off-by: default avatarWei Yang <richardw.yang@linux.intel.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarIgor Mammedov <imammedo@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 3b3df3e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;