diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-03 12:07:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 10:28:12 +0100 |
commit | 2a3a81b422660c06c1d8e2f2335070288e0101a2 (patch) | |
tree | 56c75df41d2ad7f35e8692305560b90434602d61 /bitbake | |
parent | a4dae1741b125669d50f3b60cfab3a5dd3acee31 (diff) | |
download | poky-2a3a81b422660c06c1d8e2f2335070288e0101a2.tar.gz |
bitbake: runqueue: Remove unused function parameter
The function is only used by setscene code so the parameter is pointless,
remove it.
(Bitbake rev: b52dbf5e9cb327f8434213d286ad333f5dbad1d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index c9335195cb..ffab5b2fcb 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1759,7 +1759,8 @@ class RunQueueExecute: | |||
1759 | self.rq.state = runQueueComplete | 1759 | self.rq.state = runQueueComplete |
1760 | return True | 1760 | return True |
1761 | 1761 | ||
1762 | def check_dependencies(self, task, taskdeps, setscene = False): | 1762 | # Used by setscene only |
1763 | def check_dependencies(self, task, taskdeps): | ||
1763 | if not self.rq.depvalidate: | 1764 | if not self.rq.depvalidate: |
1764 | return False | 1765 | return False |
1765 | 1766 | ||
@@ -2424,7 +2425,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
2424 | if nexttask in self.runq_buildable and nexttask not in self.runq_running and self.sqdata.stamps[nexttask] not in self.build_stamps.values(): | 2425 | if nexttask in self.runq_buildable and nexttask not in self.runq_running and self.sqdata.stamps[nexttask] not in self.build_stamps.values(): |
2425 | if nexttask in self.sqdata.unskippable: | 2426 | if nexttask in self.sqdata.unskippable: |
2426 | logger.debug(2, "Setscene task %s is unskippable" % nexttask) | 2427 | logger.debug(2, "Setscene task %s is unskippable" % nexttask) |
2427 | 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], True): | 2428 | 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]): |
2428 | fn = fn_from_tid(nexttask) | 2429 | fn = fn_from_tid(nexttask) |
2429 | foundtarget = False | 2430 | foundtarget = False |
2430 | 2431 | ||