[libvirt] [PATCH 04/10] tests: qemuhotplug: Remove unused test macro DO_TEST_DETACH_EVENT

Peter Krempa pkrempa at redhat.com
Thu Feb 7 12:28:08 UTC 2019


This variant is unused as we create the object including capabilities
with DO_TEST_ATTACH_EVENT, which is then reused.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemuhotplugtest.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c
index aa49097a4a..0356d87092 100644
--- a/tests/qemuhotplugtest.c
+++ b/tests/qemuhotplugtest.c
@@ -647,9 +647,6 @@ mymain(void)
 #define DO_TEST_ATTACH_EVENT(file, dev, fial, kep, ...) \
     DO_TEST(file, ATTACH, dev, true, fial, kep, __VA_ARGS__)

-#define DO_TEST_DETACH_EVENT(file, dev, fial, kep, ...) \
-    DO_TEST(file, DETACH, dev, true, fial, kep, __VA_ARGS__)
-
 #define DO_TEST_UPDATE(file, dev, fial, kep, ...) \
     DO_TEST(file, UPDATE, dev, false, fial, kep, __VA_ARGS__)

-- 
2.20.1




More information about the libvir-list mailing list