diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-13 11:35:50 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-15 10:36:40 +0100 |
commit | d21a690f1a7c682ed51d167baa6404c129be17d4 (patch) | |
tree | d42d443ae899ecb7041b7c9b29b4d608e1dc5ac6 /lib/igt_core.c | |
parent | 937df2ef91e6cd524a9bfc54e973de465d587d54 (diff) |
lib: Drop igt_child_done
Added in
commit 054eb1abecd1cce2e4ee0516f3ff8a67a35dca22
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date: Thu Mar 30 14:32:29 2017 +0100
benchmarks/gem_wsim: Command submission workload simulator
but since then the only user was lost.
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_core.c')
-rw-r--r-- | lib/igt_core.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 425b96ff..b59bb81e 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1742,32 +1742,6 @@ bool __igt_fork(void) } -/** - * igt_child_done: - * - * Lets the IGT core know that one of the children has exited. - */ -void igt_child_done(pid_t pid) -{ - int i = 0; - int found = -1; - - igt_assert(num_test_children > 1); - - for (i = 0; i < num_test_children; i++) { - if (pid == test_children[i]) { - found = i; - break; - } - } - - igt_assert(found >= 0); - - num_test_children--; - for (i = found; i < num_test_children; i++) - test_children[i] = test_children[i + 1]; -} - int __igt_waitchildren(void) { int err = 0; |