Skip to content

Commit

Permalink
virtio-net.h: Remove unsed DEFINE_VIRTIO_NET_PROPERTIES
Browse files Browse the repository at this point in the history
Remove unsed DEFINE_VIRTIO_NET_PROPERTIES in virtio-net.h and delete a
space typo.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
shannonz88 authored and mstsirkin committed Jun 10, 2015
1 parent 87108bb commit db58c06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/hw/virtio/virtio-net.h
Expand Up @@ -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);
Expand Down

0 comments on commit db58c06

Please sign in to comment.