diff mbox series

[for,3.1,2/4] virtio-net-test: remove unused macro

Message ID 20181129031230.31082-3-jasowang@redhat.com (mailing list archive)
State New, archived
Headers show
Series Fix possible OOB during queuing packets | expand

Commit Message

Jason Wang Nov. 29, 2018, 3:12 a.m. UTC
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 tests/virtio-net-test.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Thomas Huth Nov. 29, 2018, 6:17 a.m. UTC | #1
On 2018-11-29 04:12, Jason Wang wrote:
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
>  tests/virtio-net-test.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tests/virtio-net-test.c b/tests/virtio-net-test.c
> index dcb87a8b6e..231e7c767e 100644
> --- a/tests/virtio-net-test.c
> +++ b/tests/virtio-net-test.c
> @@ -24,7 +24,6 @@
>  
>  #define PCI_SLOT_HP             0x06
>  #define PCI_SLOT                0x04
> -#define PCI_FN                  0x00
>  
>  #define QVIRTIO_NET_TIMEOUT_US (30 * 1000 * 1000)
>  #define VNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf)
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/tests/virtio-net-test.c b/tests/virtio-net-test.c
index dcb87a8b6e..231e7c767e 100644
--- a/tests/virtio-net-test.c
+++ b/tests/virtio-net-test.c
@@ -24,7 +24,6 @@ 
 
 #define PCI_SLOT_HP             0x06
 #define PCI_SLOT                0x04
-#define PCI_FN                  0x00
 
 #define QVIRTIO_NET_TIMEOUT_US (30 * 1000 * 1000)
 #define VNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf)