From: Tiwei Bie Date: Mon, 11 Dec 2017 05:13:31 +0000 (+0800) Subject: net/virtio: remove a redundant macro definition for ctrl vq X-Git-Tag: spdx-start~521 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8786702e2df8c9a20a1e3a6dd9d5a6854056a50a;p=dpdk.git net/virtio: remove a redundant macro definition for ctrl vq VIRTIO_NET_CTRL_MAC_ADDR_SET is defined two times in virtqueue.h, the second one is obviously not wanted. Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin Acked-by: Yuanhan Liu --- diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h index 33a0e18963..fedbaa39c5 100644 --- a/drivers/net/virtio/virtqueue.h +++ b/drivers/net/virtio/virtqueue.h @@ -197,8 +197,6 @@ struct virtqueue { #define VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN 1 #define VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX 0x8000 -#define VIRTIO_NET_CTRL_MAC_ADDR_SET 1 - /** * This is the first element of the scatter-gather list. If you don't * specify GSO or CSUM features, you can simply ignore the header.