From d75e676ffdf5095a5f4361110a760bf0d902f80f Mon Sep 17 00:00:00 2001 From: Antonio Argenziano Date: Fri, 23 Feb 2018 15:14:40 -0800 Subject: igt: Make libudev mandatory Since more essential components use libudev, make its dependency mandatory. Signed-off-by: Antonio Argenziano Cc: Chris Wilson Cc: Daniel Vetter Cc: Petri Latvala Cc: Arkadiusz Hiler Reviewed-by: Chris Wilson Acked-by: Petri Latvala --- tools/intel_l3_parity.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tools/intel_l3_parity.c') diff --git a/tools/intel_l3_parity.c b/tools/intel_l3_parity.c index 9df4fc24..d1a9bc44 100644 --- a/tools/intel_l3_parity.c +++ b/tools/intel_l3_parity.c @@ -39,10 +39,8 @@ #include "igt_sysfs.h" #include "drmtest.h" #include "config.h" -#ifdef HAVE_UDEV #include #include -#endif #include "intel_l3_parity.h" static unsigned int devid; @@ -318,10 +316,6 @@ int main(int argc, char *argv[]) /* Daemon doesn't work like the other commands */ if (action == 'L') { -#ifndef HAVE_UDEV - fprintf(stderr, "Daemon requires udev support. Please reconfigure.\n"); - exit(EXIT_FAILURE); -#else struct l3_parity par; struct l3_location loc; if (daemonize) { @@ -332,7 +326,6 @@ int main(int argc, char *argv[]) assert(l3_uevent_setup(&par) == 0); assert(l3_listen(&par, daemonize == 1, &loc) == 0); exit(EXIT_SUCCESS); -#endif } if (action == 'l') -- cgit v1.2.3