From: Peter Crosthwaite Date: Fri, 26 Sep 2014 05:22:36 +0000 (-0700) Subject: qdev: gpio: delete NamedGPIOList::out X-Git-Tag: v2.7.1~1440^2~17 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=15942b65697c7016a8ca836ecbfd9777d959187c;p=mirror_qemu.git qdev: gpio: delete NamedGPIOList::out 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 --- diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 92f88f6698..efbaa99117 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 cf27e6564a..86d341f083 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; };