[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/7] virtio-net.h: Remove unsed DEFINE_VIRTIO_NET
From: |
Shannon Zhao |
Subject: |
[Qemu-devel] [PATCH v2 2/7] virtio-net.h: Remove unsed DEFINE_VIRTIO_NET_PROPERTIES |
Date: |
Wed, 10 Jun 2015 23:04:31 +0800 |
Remove unsed DEFINE_VIRTIO_NET_PROPERTIES in virtio-net.h and delete a
space typo.
Signed-off-by: Shannon Zhao <address@hidden>
Signed-off-by: Shannon Zhao <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
---
include/hw/virtio/virtio-net.h | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index c142b42..280dacf 100644
--- a/include/hw/virtio/virtio-net.h
+++ b/include/hw/virtio/virtio-net.h
@@ -107,12 +107,7 @@ typedef struct VirtIONet {
* VIRTIO_NET_F_CTRL_GUEST_OFFLOADS feature bit.
*/
#define VIRTIO_NET_CTRL_GUEST_OFFLOADS 5
- #define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0
-
-#define DEFINE_VIRTIO_NET_PROPERTIES(_state, _field)
\
- DEFINE_PROP_UINT32("x-txtimer", _state, _field.txtimer,
TX_TIMER_INTERVAL),\
- DEFINE_PROP_INT32("x-txburst", _state, _field.txburst, TX_BURST),
\
- DEFINE_PROP_STRING("tx", _state, _field.tx)
+#define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0
void virtio_net_set_netclient_name(VirtIONet *n, const char *name,
const char *type);
--
2.1.0
- [Qemu-devel] [PATCH v2 0/7] virtio: inline private qdev properties into virtio devices, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 1/7] virtio-net: move qdev properties into virtio-net.c, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 2/7] virtio-net.h: Remove unsed DEFINE_VIRTIO_NET_PROPERTIES,
Shannon Zhao <=
- [Qemu-devel] [PATCH v2 3/7] virtio-scsi: move qdev properties into virtio-scsi.c, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 4/7] virtio-rng: move qdev properties into virtio-rng.c, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 5/7] virtio-serial-bus: move qdev properties into virtio-serial-bus.c, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 6/7] virtio-9p-device: move qdev properties into virtio-9p-device.c, Shannon Zhao, 2015/06/10
- [Qemu-devel] [PATCH v2 7/7] vhost-scsi: move qdev properties into vhost-scsi.c, Shannon Zhao, 2015/06/10