All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] runqueue: Simplify some convoluted logic
@ 2019-07-11 16:12 Richard Purdie
  2019-07-11 16:12 ` [PATCH 2/5] runqueue: Streamline outright setscene failure handling Richard Purdie
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Richard Purdie @ 2019-07-11 16:12 UTC (permalink / raw)
  To: bitbake-devel

This was left from when task IDs complicated the code, simplify.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index db0d852c54..48b668abc1 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1908,12 +1908,7 @@ class RunQueueExecute:
                     if nexttask in self.sqdata.unskippable:
                         logger.debug(2, "Setscene task %s is unskippable" % nexttask)
                     if nexttask not in self.sqdata.unskippable and len(self.sqdata.sq_revdeps[nexttask]) > 0 and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]):
-                        fn = fn_from_tid(nexttask)
-                        foundtarget = False
-
-                        if nexttask in self.rqdata.target_tids:
-                            foundtarget = True
-                        if not foundtarget:
+                        if nexttask not in self.rqdata.target_tids:
                             logger.debug(2, "Skipping setscene for task %s" % nexttask)
                             self.sq_task_skip(nexttask)
                             self.scenequeue_notneeded.add(nexttask)
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-11 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11 16:12 [PATCH 1/5] runqueue: Simplify some convoluted logic Richard Purdie
2019-07-11 16:12 ` [PATCH 2/5] runqueue: Streamline outright setscene failure handling Richard Purdie
2019-07-11 16:12 ` [PATCH 3/5] runqueue: Whitespace fix Richard Purdie
2019-07-11 16:12 ` [PATCH 4/5] siggen: Use unique hashes for tasks Richard Purdie
2019-07-11 16:12 ` [PATCH 5/5] runqueue: Optimise multiconfig with overlapping setscene Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.