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 3/6] hw/virtio/virtio-pci: Remove meaningless blank Property
Date: Tue, 12 May 2015 10:25:18 +0800 [thread overview]
Message-ID: <1431397521-2316-4-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-pci.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index 5c173c4..47be00f 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -1410,10 +1410,6 @@ static const TypeInfo virtio_net_pci_info = {
/* virtio-rng-pci */
-static Property virtio_rng_pci_properties[] = {
- DEFINE_PROP_END_OF_LIST(),
-};
-
static void virtio_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
VirtIORngPCI *vrng = VIRTIO_RNG_PCI(vpci_dev);
@@ -1440,7 +1436,6 @@ static void virtio_rng_pci_class_init(ObjectClass *klass, void *data)
k->realize = virtio_rng_pci_realize;
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
- dc->props = virtio_rng_pci_properties;
pcidev_k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET;
pcidev_k->device_id = PCI_DEVICE_ID_VIRTIO_RNG;
--
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 ` [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 ` [Qemu-devel] [PATCH 2/6] hw/virtio/virtio-balloon: " shannon.zhao
2015-09-11 8:01 ` Michael Tokarev
2015-05-12 2:25 ` shannon.zhao [this message]
2015-09-11 8:02 ` [Qemu-devel] [PATCH 3/6] hw/virtio/virtio-pci: " 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-4-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).