[10/11] runqueue: Drop pointless variable assignment

Message ID 20220420132205.2530591-10-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit e6a3173c9cdf349ccbd4cf612868f92cce8717c8
Headers show
Series [01/11] server/process: Drop unused import | expand

Commit Message

Richard Purdie April 20, 2022, 1:22 p.m. UTC
This is set at the start of the loop anyway so it does nothing. Drop
the pointless code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index a7a84630d7..a4e82f375c 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2664,7 +2664,6 @@  def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
             sq_revdeps_squash[point] = set()
             if point in rqdata.runq_setscene_tids:
                 sq_revdeps_squash[point] = tasks
-                tasks = set()
                 continue
             for dep in rqdata.runtaskentries[point].depends:
                 if point in sq_revdeps[dep]: