From patchwork Thu Jan 19 17:40:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 136875 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 143EA1007D3 for ; Fri, 20 Jan 2012 04:42:58 +1100 (EST) Received: from localhost ([::1]:44931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnw0l-00034R-W0 for incoming@patchwork.ozlabs.org; Thu, 19 Jan 2012 12:42:55 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnw0N-0002tc-7E for qemu-devel@nongnu.org; Thu, 19 Jan 2012 12:42:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnw0I-0005W4-Hc for qemu-devel@nongnu.org; Thu, 19 Jan 2012 12:42:31 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50809 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnw0I-0005VT-9v; Thu, 19 Jan 2012 12:42:26 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3E4E4915A2; Thu, 19 Jan 2012 18:42:20 +0100 (CET) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Thu, 19 Jan 2012 18:40:18 +0100 Message-Id: <1326994818-8144-4-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1326994818-8144-1-git-send-email-afaerber@suse.de> References: <1326979493-3789-1-git-send-email-afaerber@suse.de> <1326994818-8144-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: qemu-ppc@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Alexander Graf Subject: [Qemu-devel] [PATCH v2 3/3] unin_pci: Drop unused reset handler 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: Andreas Färber Cc: Alexander Graf --- hw/unin_pci.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/hw/unin_pci.c b/hw/unin_pci.c index 8c03cb0..6a10013 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c @@ -63,10 +63,6 @@ static void pci_unin_set_irq(void *opaque, int irq_num, int level) qemu_set_irq(pic[unin_irq_line[irq_num]], level); } -static void pci_unin_reset(void *opaque) -{ -} - static uint32_t unin_get_config_reg(uint32_t reg, uint32_t addr) { uint32_t retval; @@ -148,7 +144,6 @@ static int pci_unin_main_init_device(SysBusDevice *dev) sysbus_init_mmio(dev, &s->host_state.conf_mem); sysbus_init_mmio(dev, &s->host_state.data_mem); - qemu_register_reset(pci_unin_reset, &s->host_state); return 0; } @@ -169,8 +164,6 @@ static int pci_u3_agp_init_device(SysBusDevice *dev) sysbus_init_mmio(dev, &s->host_state.conf_mem); sysbus_init_mmio(dev, &s->host_state.data_mem); - qemu_register_reset(pci_unin_reset, &s->host_state); - return 0; }