mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
bitbake: cooker: remove some redundant control flow
Prior to commit aa84a900e ("cooker: Ensure delays are accurately transfered to
the idle loops from runqueue"), this was necessary. But now retval is returned
directly.
(Bitbake rev: c2eb4336fe10b1bf8bbc6291c32ca362840f39e1)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a0c4688a35
commit
b25ebbc408
@@ -1434,8 +1434,7 @@ You can also remove the BB_HASHSERVE_UPSTREAM setting, but this may result in si
|
||||
if quietlog:
|
||||
bb.runqueue.logger.setLevel(rqloglevel)
|
||||
return bb.server.process.idleFinish(msg)
|
||||
if retval is True:
|
||||
return True
|
||||
|
||||
return retval
|
||||
|
||||
self.idleCallBackRegister(buildFileIdle, rq)
|
||||
@@ -1504,8 +1503,6 @@ You can also remove the BB_HASHSERVE_UPSTREAM setting, but this may result in si
|
||||
bb.event.disable_heartbeat()
|
||||
return bb.server.process.idleFinish(msg)
|
||||
|
||||
if retval is True:
|
||||
return True
|
||||
return retval
|
||||
|
||||
self.reset_mtime_caches()
|
||||
|
||||
Reference in New Issue
Block a user