qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: fred.konrad@greensocs.com
To: aliguori@us.ibm.com, qemu-devel@nongnu.org, amit.shah@redhat.com
Cc: cornelia.huck@de.ibm.com, peter.maydell@linaro.org,
	mark.burton@greensocs.com, fred.konrad@greensocs.com
Subject: [Qemu-devel] [PATCH v6 7/7] virtio-serial: cleanup: remove qdev field.
Date: Tue,  9 Apr 2013 14:53:36 +0200	[thread overview]
Message-ID: <1365512016-21944-8-git-send-email-fred.konrad@greensocs.com> (raw)
In-Reply-To: <1365512016-21944-1-git-send-email-fred.konrad@greensocs.com>

From: KONRAD Frederic <fred.konrad@greensocs.com>

The qdev field is no longer needed, just drop it.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
---
 hw/char/virtio-serial-bus.c       | 2 --
 include/hw/virtio/virtio-serial.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c
index aabb36a..35c996d 100644
--- a/hw/char/virtio-serial-bus.c
+++ b/hw/char/virtio-serial-bus.c
@@ -960,8 +960,6 @@ static int virtio_serial_device_init(VirtIODevice *vdev)
     vdev->set_status = set_status;
     vdev->reset = vser_reset;
 
-    vser->qdev = qdev;
-
     vser->post_load = NULL;
 
     /*
diff --git a/include/hw/virtio/virtio-serial.h b/include/hw/virtio/virtio-serial.h
index 3808bc3..7c71304 100644
--- a/include/hw/virtio/virtio-serial.h
+++ b/include/hw/virtio/virtio-serial.h
@@ -200,8 +200,6 @@ struct VirtIOSerial {
 
     VirtIOSerialBus bus;
 
-    DeviceState *qdev;
-
     QTAILQ_HEAD(, VirtIOSerialPort) ports;
 
     /* bitmap for identifying active ports */
-- 
1.8.1.4

  parent reply	other threads:[~2013-04-09 12:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 12:53 [Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 1/7] virtio-serial: add the virtio-serial device fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 2/7] virtio-serial-pci: switch to the new API fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 3/7] virtio-serial-s390: " fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 4/7] virtio-serial-ccw: " fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 5/7] virtio-serial: cleanup: init and exit functions fred.konrad
2013-04-09 12:53 ` [Qemu-devel] [PATCH v6 6/7] virtio-serial: cleanup: use QOM casts fred.konrad
2013-04-09 12:53 ` fred.konrad [this message]
2013-04-09 14:53 ` [Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring Peter Maydell
2013-04-09 15:05   ` KONRAD Frédéric
2013-04-09 15:07   ` Anthony Liguori
2013-04-09 15:20     ` Peter Maydell
2013-04-10 10:34 ` Amit Shah
2013-04-15 21:10 ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365512016-21944-8-git-send-email-fred.konrad@greensocs.com \
    --to=fred.konrad@greensocs.com \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=mark.burton@greensocs.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).