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:
Chris Laplante
2025-08-06 10:53:06 -04:00
committed by Richard Purdie
parent a0c4688a35
commit b25ebbc408

View File

@@ -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()