From nobody Mon Feb 9 11:51:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549292329447512.6928915436077; Mon, 4 Feb 2019 06:58:49 -0800 (PST) Received: from localhost ([127.0.0.1]:44030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqfhr-0003e9-Df for importer@patchew.org; Mon, 04 Feb 2019 09:58:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqfaT-00063p-Kt for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqfTg-0005jO-7q for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:44:05 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:45956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqfTg-0005iY-3N for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:44:04 -0500 Received: by mail-qk1-f177.google.com with SMTP id y78so20547qka.12 for ; Mon, 04 Feb 2019 06:44:02 -0800 (PST) Received: from redhat.com (pool-173-76-246-42.bstnma.fios.verizon.net. [173.76.246.42]) by smtp.gmail.com with ESMTPSA id t44sm2568747qtb.40.2019.02.04.06.44.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Feb 2019 06:44:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=8jrAqg3edA+oYQVA7qSRqoMTsImGb3GK2LSEtj0xtAI=; b=q/sW01WZEiLOpDSYCBXP7K1Dnggz6ZTMyl9N8wjuqLgkaDX+/ZVbgiuUc56UB0dpiv wmqn6zfoEPpJw9kNAptLIzUuCVWfiXyELgpMO1YmpkF5BkOtREJnaDE4SgmDjtybPOkh WQp/9BM7b8tcw+VgixthZMn788qcIvlID73YU71ahDTX3aqU96Vyg31vav7w6gzSoqHw 5WYoF8fMoS7CpeymWsprc50Zilq9xmmPtHkT+jOsSg++cMNxkXLNPt+/ZoWdAoyDwk2C qB0TA9GzNsYUJk0RzgzgESlDrYJHUxzf/hZixAoVcMpk7SU3BH8XTtzyge3jGTSXbnfU tlsA== X-Gm-Message-State: AHQUAubBf/5+1ffnOwNWMxgdolTmYKkVd2KlwzoSN1wrf0jiIdRg0n6P 0LFphbEfnBhxwPAe3yQpEITjJwFPccw= X-Google-Smtp-Source: AHgI3IZTVguWA4qlUSf70G8VE1FLYwzsuR6nlWhNaG6V2aWa8ASJgf0MINw7NtRu3UQ4oMlyLm6tFw== X-Received: by 2002:a37:61ca:: with SMTP id v193mr5100534qkb.226.1549291441962; Mon, 04 Feb 2019 06:44:01 -0800 (PST) Date: Mon, 4 Feb 2019 09:43:59 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <20190204142638.27021-22-mst@redhat.com> References: <20190204142638.27021-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190204142638.27021-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.222.177 Subject: [Qemu-devel] [PULL 21/25] i386, acpi: cleanup build_facs by removing second unused argument X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Eduardo Habkost , Wei Yang , Igor Mammedov , Paolo Bonzini , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Wei Yang The second argument of build_facs() is not used, just remove it. Signed-off-by: Wei Yang Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- hw/i386/acpi-build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 26cef4af2d..9ecc96dcc7 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -298,7 +298,7 @@ static void acpi_align_size(GArray *blob, unsigned alig= n) =20 /* FACS */ static void -build_facs(GArray *table_data, BIOSLinker *linker) +build_facs(GArray *table_data) { AcpiFacsDescriptorRev1 *facs =3D acpi_data_push(table_data, sizeof *fa= cs); memcpy(&facs->signature, "FACS", 4); @@ -2637,7 +2637,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState= *machine) * requirements. */ facs =3D tables_blob->len; - build_facs(tables_blob, tables->linker); + build_facs(tables_blob); =20 /* DSDT is pointed to by FADT */ dsdt =3D tables_blob->len; --=20 MST