mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user