From patchwork Tue Dec 20 13:10:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 132412 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5C2D3B702E for ; Wed, 21 Dec 2011 00:11:09 +1100 (EST) Received: from localhost ([::1]:43782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RczTB-0005Tf-Rr for incoming@patchwork.ozlabs.org; Tue, 20 Dec 2011 08:11:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RczT1-0005T0-99 for qemu-devel@nongnu.org; Tue, 20 Dec 2011 08:10:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RczT0-0002BX-7m for qemu-devel@nongnu.org; Tue, 20 Dec 2011 08:10:51 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:41598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RczT0-0002BQ-3x; Tue, 20 Dec 2011 08:10:50 -0500 Received: by iagj37 with SMTP id j37so11545911iag.4 for ; Tue, 20 Dec 2011 05:10:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=zllYl6iX879kaWzFH+UuazfMZd2otpk8v61oKpt8zww=; b=lL4BOr3m+reAmxhvxE8uBLX0cyguJNPX53P6U8UV46ydpW1Ri1FMsELDgBDIbZCjfX 7grohXWF1W3Q7DOlGvAOIARFqdmXdv2J5JJbz5ai50YikzRM2mMMTqVOl0pMiisKj7/i OuNpeE92XqAeBkSeSYH8DTmhx+jOSS0TEzFdI= Received: by 10.50.186.165 with SMTP id fl5mr2341220igc.86.1324386649431; Tue, 20 Dec 2011 05:10:49 -0800 (PST) Received: from localhost.localdomain (93-34-178-147.ip50.fastwebnet.it. [93.34.178.147]) by mx.google.com with ESMTPS id gh9sm23956202igb.3.2011.12.20.05.10.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 05:10:48 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 20 Dec 2011 14:10:36 +0100 Message-Id: <1324386636-25248-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.7.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.173 Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [PATCH] i440fx: remove piix3 field X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Paolo Bonzini --- hw/piix_pci.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 43c85aa..e188c7a 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -81,7 +81,6 @@ struct PCII440FXState { PAMMemoryRegion pam_regions[13]; MemoryRegion smram_region; uint8_t smm_enabled; - PIIX3State *piix3; }; @@ -320,8 +319,6 @@ static PCIBus *i440fx_common_init(const char *device_name, qdev_property_add_child(dev, "piix3", &piix3->dev.qdev, NULL); piix3->pic = pic; - (*pi440fx_state)->piix3 = piix3; - *piix3_devfn = piix3->dev.devfn; ram_size = ram_size / 8 / 1024 / 1024;