summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-01 15:22:23 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-01 15:22:23 +0000
commit893f4e0dd667c6080e220c541ff33fb2a04d5516 (patch)
tree5358b86b6a4d97196585c1a0b85971c39b7c8a70 /lib
parent0a7d1f7efe0813fd35ab5dcced3219f951b1218c (diff)
Revert "igt_dummyload: Don't clear handler for invalid signal"
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_dummyload.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c
index 00bb626b..cfc4805c 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -173,9 +173,6 @@ static void clear_sig_handler(int sig)
{
struct sigaction act;
- if (sig <= SIGRTMIN)
- return;
-
memset(&act, 0, sizeof(act));
act.sa_handler = SIG_DFL;
igt_assert(sigaction(sig, &act, NULL) == 0);