From patchwork Tue Oct 8 10:52:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 11179369 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FB89139A for ; Tue, 8 Oct 2019 10:55:26 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 701D220673 for ; Tue, 8 Oct 2019 10:55:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 701D220673 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:53619 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHn9I-0003YU-Pc for patchwork-qemu-devel@patchwork.kernel.org; Tue, 08 Oct 2019 06:55:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46627) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHn7T-0001tD-PF for qemu-devel@nongnu.org; Tue, 08 Oct 2019 06:53:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHn7P-0003nt-J3 for qemu-devel@nongnu.org; Tue, 08 Oct 2019 06:53:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48220) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHn7P-0003m6-Au for qemu-devel@nongnu.org; Tue, 08 Oct 2019 06:53:27 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 90F2D30BEBE6; Tue, 8 Oct 2019 10:53:26 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-109.rdu2.redhat.com [10.10.120.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2FC4B5D9C9; Tue, 8 Oct 2019 10:53:24 +0000 (UTC) From: Laszlo Ersek To: qemu devel list Subject: [PATCH 2/4] target/i386: remove useless enable_compat_apic_id_mode() prototype Date: Tue, 8 Oct 2019 12:52:57 +0200 Message-Id: <20191008105259.5378-3-lersek@redhat.com> In-Reply-To: <20191008105259.5378-1-lersek@redhat.com> References: <20191008105259.5378-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Tue, 08 Oct 2019 10:53:26 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Mammedov , Richard Henderson , Eduardo Habkost , Paolo Bonzini Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" The enable_compat_apic_id_mode() function definition was removed earlier; there are no callers left. Remove the function declaration too. Cc: Eduardo Habkost Cc: Igor Mammedov Cc: Paolo Bonzini Cc: Richard Henderson Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1515 Signed-off-by: Laszlo Ersek Reviewed-by: Philippe Mathieu-Daudé --- target/i386/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/i386/cpu.h b/target/i386/cpu.h index eaa5395aa539..c9ab1a367939 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2126,8 +2126,6 @@ void x86_cpu_set_default_version(X86CPUVersion version); /* Return name of 32-bit register, from a R_* constant */ const char *get_register_name_32(unsigned int reg); -void enable_compat_apic_id_mode(void); - #define APIC_DEFAULT_ADDRESS 0xfee00000 #define APIC_SPACE_SIZE 0x100000