diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-01 15:28:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-01 15:28:49 +0000 |
commit | cdd30a3d77e3ddd67fee28a2d16ed85e700c6bc0 (patch) | |
tree | fba8d6e6bc15d8ef9b3cdf7c2aa1397685897ccf /lib | |
parent | 3e7a4e064e82f803a2be978541b3f1c181cbbbd3 (diff) |
lib/dummyload: Don't clear the same signal twice
Now that the signal is disable on spin_batch_end, we don't need to do
the same from the signal handler if we have a match.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_dummyload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c index cfc4805c..ec36d1a2 100644 --- a/lib/igt_dummyload.c +++ b/lib/igt_dummyload.c @@ -185,7 +185,7 @@ static void sig_handler(int sig, siginfo_t *info, void *arg) igt_list_for_each(iter, &spin_list, link) { if (iter->signo == info->si_signo) { igt_spin_batch_end(iter); - break; + return; } } |