Received: from eggs.gnu.org ([2001:4830:134:3::10]:45163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfALC-0003O7-E2 for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfAL7-0004cd-JP for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:22 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:47501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfAL7-0004cN-DW for qemu-devel@nongnu.org; Fri, 17 Oct 2014 12:25:17 -0400 Received: by mail-wg0-f50.google.com with SMTP id a1so1305796wgh.9 for ; Fri, 17 Oct 2014 09:25:16 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 17 Oct 2014 18:24:51 +0200 Message-Id: <1413563095-27301-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1413563095-27301-1-git-send-email-pbonzini@redhat.com> References: <1413563095-27301-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH qom v4 09/13] irq: Remove qemu_irq_intercept_out List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Crosthwaite , afaerber@suse.de, agraf@suse.de From: Peter Crosthwaite No more users left and obsoleted by qdev_intercept_gpio_out. Reviewed-by: Alexander Graf Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- hw/core/irq.c | 6 ------ include/hw/irq.h | 1 - 2 files changed, 7 deletions(-) diff --git a/hw/core/irq.c b/hw/core/irq.c index 4a580a2..8a62a36 100644 --- a/hw/core/irq.c +++ b/hw/core/irq.c @@ -144,12 +144,6 @@ void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n) } } -void qemu_irq_intercept_out(qemu_irq **gpio_out, qemu_irq_handler handler, int n) -{ - qemu_irq *old_irqs = *gpio_out; - *gpio_out = qemu_allocate_irqs(handler, old_irqs, n); -} - static const TypeInfo irq_type_info = { .name = TYPE_IRQ, .parent = TYPE_OBJECT, diff --git a/include/hw/irq.h b/include/hw/irq.h index 6f874f5..4c4c2ea 100644 --- a/include/hw/irq.h +++ b/include/hw/irq.h @@ -61,6 +61,5 @@ qemu_irq *qemu_irq_proxy(qemu_irq **target, int n); /* For internal use in qtest. Similar to qemu_irq_split, but operating on an existing vector of qemu_irq. */ void qemu_irq_intercept_in(qemu_irq *gpio_in, qemu_irq_handler handler, int n); -void qemu_irq_intercept_out(qemu_irq **gpio_out, qemu_irq_handler handler, int n); #endif -- 2.1.0