summaryrefslogtreecommitdiff
path: root/tests/testdisplay_hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdisplay_hotplug.c')
-rw-r--r--tests/testdisplay_hotplug.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/testdisplay_hotplug.c b/tests/testdisplay_hotplug.c
index ca1d849d..581d987e 100644
--- a/tests/testdisplay_hotplug.c
+++ b/tests/testdisplay_hotplug.c
@@ -32,7 +32,6 @@
#include "config.h"
-#ifdef HAVE_UDEV
#include <libudev.h>
static struct udev_monitor *uevent_monitor;
static struct udev *udev;
@@ -125,14 +124,3 @@ void testdisplay_cleanup_hotplug(void)
if (udev)
udev_unref(udev);
}
-#else
-gboolean testdisplay_setup_hotplug(void)
-{
- igt_warn("no hotplug support on this platform\n");
- return TRUE;
-}
-
-void testdisplay_cleanup_hotplug(void)
-{
-}
-#endif