aboutsummaryrefslogtreecommitdiff
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-09-25 22:22:36 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-23 16:41:26 +0200
commit15942b65697c7016a8ca836ecbfd9777d959187c (patch)
treea1b0a393ccbe94b210b126e27ee2fe1f9de62054 /hw/core/qdev.c
parentb58c303590c3d56cbe7435f7e2abe605e4983b8d (diff)
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 <agraf@suse.de> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
-rw-r--r--hw/core/qdev.c1
1 files changed, 0 insertions, 1 deletions
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));