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 1/6] hw/s390x/s390-virtio-bus: Remove meaningless blank Property
Date: Tue, 12 May 2015 10:25:16 +0800 [thread overview]
Message-ID: <1431397521-2316-2-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/s390x/s390-virtio-bus.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c
index 1a72b56..273bd9c 100644
--- a/hw/s390x/s390-virtio-bus.c
+++ b/hw/s390x/s390-virtio-bus.c
@@ -536,17 +536,12 @@ static unsigned virtio_s390_get_features(DeviceState *d)
/**************** S390 Virtio Bus Device Descriptions *******************/
-static Property s390_virtio_net_properties[] = {
- DEFINE_PROP_END_OF_LIST(),
-};
-
static void s390_virtio_net_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass);
k->realize = s390_virtio_net_realize;
- dc->props = s390_virtio_net_properties;
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
}
@@ -575,17 +570,12 @@ static const TypeInfo s390_virtio_blk = {
.class_init = s390_virtio_blk_class_init,
};
-static Property s390_virtio_serial_properties[] = {
- DEFINE_PROP_END_OF_LIST(),
-};
-
static void s390_virtio_serial_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass);
k->realize = s390_virtio_serial_realize;
- dc->props = s390_virtio_serial_properties;
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
}
@@ -655,17 +645,12 @@ static const TypeInfo virtio_s390_device_info = {
.abstract = true,
};
-static Property s390_virtio_scsi_properties[] = {
- DEFINE_PROP_END_OF_LIST(),
-};
-
static void s390_virtio_scsi_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
VirtIOS390DeviceClass *k = VIRTIO_S390_DEVICE_CLASS(klass);
k->realize = s390_virtio_scsi_realize;
- dc->props = s390_virtio_scsi_properties;
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
}
--
2.1.0
next prev 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 ` shannon.zhao [this message]
2015-05-12 7:35 ` [Qemu-devel] [PATCH 1/6] hw/s390x/s390-virtio-bus: Remove meaningless blank Property 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 ` [Qemu-devel] [PATCH 2/6] hw/virtio/virtio-balloon: " shannon.zhao
2015-09-11 8:01 ` 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-2-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).