summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/igt_kmod.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index 388be30f..beb80b8b 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -398,9 +398,6 @@ void igt_kselftests(const char *module_name,
if (modprobe(kmod, options))
err = -errno;
kmod_module_remove_module(kmod, 0);
-
- if (err == -ENOTTY) /* special case */
- err = 0;
if (err)
kmsg_dump(kmsg);