yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
ae23c9
From d6ae7e8d693de7865fe31e58daeabf9cb9a62e8d Mon Sep 17 00:00:00 2001
ae23c9
From: Xiao Wang <jasowang@redhat.com>
ae23c9
Date: Fri, 11 Jan 2019 07:59:03 +0000
ae23c9
Subject: [PATCH 08/11] virtio-net-test: remove unused macro
ae23c9
MIME-Version: 1.0
ae23c9
Content-Type: text/plain; charset=UTF-8
ae23c9
Content-Transfer-Encoding: 8bit
ae23c9
ae23c9
RH-Author: Xiao Wang <jasowang@redhat.com>
ae23c9
Message-id: <20190111075904.2030-9-jasowang@redhat.com>
ae23c9
Patchwork-id: 83983
ae23c9
O-Subject: [RHEL8 qemu-kvm PATCH 8/9] virtio-net-test: remove unused macro
ae23c9
Bugzilla: 1636784
ae23c9
RH-Acked-by: Thomas Huth <thuth@redhat.com>
ae23c9
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
ae23c9
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
ae23c9
RH-Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
ae23c9
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
ae23c9
ae23c9
Reviewed-by: Thomas Huth <thuth@redhat.com>
ae23c9
Reviewed-by: Eric Blake <eblake@redhat.com>
ae23c9
Signed-off-by: Jason Wang <jasowang@redhat.com>
ae23c9
Message-id: 20181204035347.6148-5-jasowang@redhat.com
ae23c9
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ae23c9
(cherry picked from commit 432a82d72720f71cb965b64836672f19d57ceedb)
ae23c9
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
ae23c9
---
ae23c9
 tests/virtio-net-test.c | 1 -
ae23c9
 1 file changed, 1 deletion(-)
ae23c9
ae23c9
diff --git a/tests/virtio-net-test.c b/tests/virtio-net-test.c
ae23c9
index ad6968c..9da8f3d 100644
ae23c9
--- a/tests/virtio-net-test.c
ae23c9
+++ b/tests/virtio-net-test.c
ae23c9
@@ -24,7 +24,6 @@
ae23c9
 
ae23c9
 #define PCI_SLOT_HP             0x06
ae23c9
 #define PCI_SLOT                0x04
ae23c9
-#define PCI_FN                  0x00
ae23c9
 
ae23c9
 #define QVIRTIO_NET_TIMEOUT_US (30 * 1000 * 1000)
ae23c9
 #define VNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf)
ae23c9
-- 
ae23c9
1.8.3.1
ae23c9