diff mbox series

[v2,03/11] runqueue: remove long-unused RunQueueData get_user_idstring/get_short_user_idstring

Message ID 20260827201720.698482-5-chris.laplante@agilent.com
State New
Headers show
Series runqueue correctness fixes, optimizations, and cleanups | expand

Commit Message

chris.laplante@agilent.com Aug. 27, 2026, 8:17 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

These seem to last have been used in 2016, before runqueue was rewritten
to not use numeric TIDs (2c88afb60 taskdata/runqueue: Rewrite without use of ID indirection)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 lib/bb/runqueue.py | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index b2c2aaf14..4211c83ad 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -493,15 +493,6 @@  class RunQueueData:
     def get_task_unihash(self, tid):
         return self.runtaskentries[tid].unihash
 
-    def get_user_idstring(self, tid, task_name_suffix = ""):
-        return tid + task_name_suffix
-
-    def get_short_user_idstring(self, task, task_name_suffix = ""):
-        (mc, fn, taskname, taskfn) = split_tid_mcfn(task)
-        pn = self.dataCaches[mc].pkg_fn[taskfn]
-        taskname = taskname_from_tid(task) + task_name_suffix
-        return "%s:%s" % (pn, taskname)
-
     def circular_depchains_handler(self, tasks):
         """
         Some tasks aren't buildable, likely due to circular dependency issues.