]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemuhotplug: Remove unused test macro DO_TEST_DETACH_EVENT
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Feb 2019 10:28:14 +0000 (11:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Feb 2019 09:11:20 +0000 (10:11 +0100)
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@redhat.com>
tests/qemuhotplugtest.c

index aa49097a4a1c57b14ac2a201fc4b8d5ce50c068e..0356d87092937c4f09ea46347d1fa3637b6dd1be 100644 (file)
@@ -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__)