qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: shannon.zhao@linaro.org
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, hangaohuai@huawei.com,
	qemu-trivial@nongnu.org, mjt@tls.msk.ru,
	peter.huangpeng@huawei.com, zhaoshenglong@huawei.com,
	christoffer.dall@linaro.org
Subject: [Qemu-devel] [PATCH 2/6] hw/virtio/virtio-balloon: Remove meaningless blank Property
Date: Tue, 12 May 2015 10:25:17 +0800	[thread overview]
Message-ID: <1431397521-2316-3-git-send-email-shannon.zhao@linaro.org> (raw)
In-Reply-To: <1431397521-2316-1-git-send-email-shannon.zhao@linaro.org>

From: Shannon Zhao <shannon.zhao@linaro.org>

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
---
 hw/virtio/virtio-balloon.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c
index 484c3c3..a3f5709 100644
--- a/hw/virtio/virtio-balloon.c
+++ b/hw/virtio/virtio-balloon.c
@@ -417,16 +417,11 @@ static void virtio_balloon_device_unrealize(DeviceState *dev, Error **errp)
     virtio_cleanup(vdev);
 }
 
-static Property virtio_balloon_properties[] = {
-    DEFINE_PROP_END_OF_LIST(),
-};
-
 static void virtio_balloon_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass);
 
-    dc->props = virtio_balloon_properties;
     set_bit(DEVICE_CATEGORY_MISC, dc->categories);
     vdc->realize = virtio_balloon_device_realize;
     vdc->unrealize = virtio_balloon_device_unrealize;
-- 
2.1.0

  parent reply	other threads:[~2015-05-12  2:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12  2:25 [Qemu-devel] [PATCH 0/6] Blank property cleanup shannon.zhao
2015-05-12  2:25 ` [Qemu-devel] [PATCH 1/6] hw/s390x/s390-virtio-bus: Remove meaningless blank Property shannon.zhao
2015-05-12  7:35   ` Cornelia Huck
2015-05-12  7:52   ` Peter Maydell
2015-05-12  7:55     ` Shannon Zhao
2015-09-11  8:00   ` Michael Tokarev
2015-09-11 13:41     ` Andreas Färber
2015-05-12  2:25 ` shannon.zhao [this message]
2015-09-11  8:01   ` [Qemu-devel] [PATCH 2/6] hw/virtio/virtio-balloon: " Michael Tokarev
2015-05-12  2:25 ` [Qemu-devel] [PATCH 3/6] hw/virtio/virtio-pci: " shannon.zhao
2015-09-11  8:02   ` Michael Tokarev
2015-05-12  2:25 ` [Qemu-devel] [PATCH 4/6] hw/gpio/zaurus: " shannon.zhao
2015-09-11  8:04   ` Michael Tokarev
2015-05-12  2:25 ` [Qemu-devel] [PATCH 5/6] hw/arm/spitz: " shannon.zhao
2015-09-11  8:04   ` Michael Tokarev
2015-05-12  2:25 ` [Qemu-devel] [PATCH 6/6] Add comma after DEFINE_PROP_END_OF_LIST() shannon.zhao
2015-05-12  6:59   ` Peter Maydell
2015-05-12  7:11     ` Shannon Zhao
2015-09-11  8:21   ` Michael Tokarev
2015-09-11 13:39     ` Andreas Färber
2015-05-20  1:06 ` [Qemu-devel] [PATCH 0/6] Blank property cleanup Shannon Zhao

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=1431397521-2316-3-git-send-email-shannon.zhao@linaro.org \
    --to=shannon.zhao@linaro.org \
    --cc=christoffer.dall@linaro.org \
    --cc=hangaohuai@huawei.com \
    --cc=mjt@tls.msk.ru \
    --cc=peter.huangpeng@huawei.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=zhaoshenglong@huawei.com \
    /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).