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 09:31:50 +0100 |
commit | b52dbf5e9cb327f8434213d286ad333f5dbad1d3 (patch) | |
tree | 1bb1b66731e41dd4f4a9d0b208d3334b27f12819 /lib | |
parent | 68326e0426f25a1bbfd5ae3aa278656a3744053e (diff) | |
download | bitbake-b52dbf5e9cb327f8434213d286ad333f5dbad1d3.tar.gz |
runqueue: Remove unused function parameter
The function is only used by setscene code so the parameter is pointless,
remove it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/runqueue.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index c9335195c..ffab5b2fc 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1759,7 +1759,8 @@ class RunQueueExecute: self.rq.state = runQueueComplete return True - def check_dependencies(self, task, taskdeps, setscene = False): + # Used by setscene only + def check_dependencies(self, task, taskdeps): if not self.rq.depvalidate: return False @@ -2424,7 +2425,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute): if nexttask in self.runq_buildable and nexttask not in self.runq_running and self.sqdata.stamps[nexttask] not in self.build_stamps.values(): 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], True): + 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 |