From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xilzr-0004Wh-SK for qemu-devel@nongnu.org; Mon, 27 Oct 2014 11:14:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xilzn-0001fc-Ca for qemu-devel@nongnu.org; Mon, 27 Oct 2014 11:14:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xilzn-0001fV-5F for qemu-devel@nongnu.org; Mon, 27 Oct 2014 11:14:11 -0400 From: Paolo Bonzini Date: Mon, 27 Oct 2014 16:13:28 +0100 Message-Id: <1414422825-6166-12-git-send-email-pbonzini@redhat.com> In-Reply-To: <1414422825-6166-1-git-send-email-pbonzini@redhat.com> References: <1414422825-6166-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 11/28] qdev: gpio: delete NamedGPIOList::out List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Crosthwaite From: Peter Crosthwaite All users of GPIO outputs are fully QOMified, using QOM properties to access the GPIO data. Delete. Reviewed-by: Alexander Graf Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- hw/core/qdev.c | 1 - include/hw/qdev-core.h | 1 - 2 files changed, 2 deletions(-) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 92f88f6..efbaa99 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -406,7 +406,6 @@ void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq *pins, assert(gpio_list->num_in == 0 || !name); assert(gpio_list->num_out == 0); gpio_list->num_out = n; - gpio_list->out = pins; for (i = 0; i < n; ++i) { memset(&pins[i], 0, sizeof(*pins)); diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index cf27e65..86d341f 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -136,7 +136,6 @@ struct NamedGPIOList { char *name; qemu_irq *in; int num_in; - qemu_irq *out; int num_out; QLIST_ENTRY(NamedGPIOList) node; }; -- 1.8.3.1