From nobody Fri Nov 7 18:46:51 2025 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) 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=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linux.intel.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548817521909364.57007834059345; Tue, 29 Jan 2019 19:05:21 -0800 (PST) Received: from localhost ([127.0.0.1]:59511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gogBa-00018c-Rf for importer@patchew.org; Tue, 29 Jan 2019 22:05:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gog9P-000055-Km for qemu-devel@nongnu.org; Tue, 29 Jan 2019 22:02:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gog9N-0006dz-LY for qemu-devel@nongnu.org; Tue, 29 Jan 2019 22:02:55 -0500 Received: from mga17.intel.com ([192.55.52.151]:39887) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gog9M-0006SF-1e; Tue, 29 Jan 2019 22:02:52 -0500 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jan 2019 19:02:40 -0800 Received: from richard.sh.intel.com (HELO localhost) ([10.239.159.37]) by orsmga004.jf.intel.com with ESMTP; 29 Jan 2019 19:02:39 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,539,1539673200"; d="scan'208";a="271023100" From: Wei Yang To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Date: Wed, 30 Jan 2019 11:02:07 +0800 Message-Id: <20190130030207.6770-1-richardw.yang@linux.intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.151 Subject: [Qemu-devel] [PATCH] 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: imammedo@redhat.com, Wei Yang , mst@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The second argument of build_facs() is not used, just remove it. Signed-off-by: Wei Yang 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 236a20eaa8..023729c1f2 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -292,7 +292,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); @@ -2643,7 +2643,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 2.19.1