aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2018-12-04 11:53:46 +0800
committerPeter Maydell <peter.maydell@linaro.org>2018-12-04 11:06:15 +0000
commit432a82d72720f71cb965b64836672f19d57ceedb (patch)
tree617df695b80e82a52893dbc6e4c114e8d1783620
parentae4c445c6f38a01504b7040b1e01a69945137b0c (diff)
downloadqemu-432a82d72720f71cb965b64836672f19d57ceedb.tar.gz
virtio-net-test: remove unused macro
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Message-id: 20181204035347.6148-5-jasowang@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--tests/virtio-net-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/virtio-net-test.c b/tests/virtio-net-test.c
index 587a043e67..bdd6af9999 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)