From e29ae70ba75592f2062a2ae348854c4520f7c9b2 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 7 Feb 2019 11:28:14 +0100 Subject: [PATCH] tests: qemuhotplug: Remove unused test macro DO_TEST_DETACH_EVENT 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 --- 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__)