summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r--lib/igt_aux.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index a23375a4..aabf6e50 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -50,6 +50,7 @@
#include <assert.h>
#include <proc/readproc.h>
+#include <libudev.h>
#include "drmtest.h"
#include "i915_drm.h"
@@ -425,8 +426,6 @@ void igt_stop_shrink_helper(void)
igt_stop_helper(&shrink_helper);
}
-#ifdef HAVE_UDEV
-#include <libudev.h>
static struct igt_helper_process hang_detector;
static void __attribute__((noreturn))
@@ -506,17 +505,6 @@ void igt_stop_hang_detector(void)
{
igt_stop_helper(&hang_detector);
}
-#else
-void igt_fork_hang_detector(int fd)
-{
- if (igt_only_list_subtests())
- return;
-}
-
-void igt_stop_hang_detector(void)
-{
-}
-#endif
/**
* igt_check_boolean_env_var: