Became dead code when NotifyWaiters was removed in 3d3a7a9f92e12

Signed-off-by: Brian Foley <[email protected]>
---
 lib/jqueue/__init__.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/lib/jqueue/__init__.py b/lib/jqueue/__init__.py
index 7b42e5e..906e37e 100644
--- a/lib/jqueue/__init__.py
+++ b/lib/jqueue/__init__.py
@@ -1225,14 +1225,6 @@ class _JobDependencyManager:
               " not one of '%s' as required" %
               (dep_job_id, status, utils.CommaJoin(dep_status)))
 
-  def _RemoveEmptyWaitersUnlocked(self):
-    """Remove all jobs without actual waiters.
-
-    """
-    for job_id in [job_id for (job_id, waiters) in self._waiters.items()
-                   if not waiters]:
-      del self._waiters[job_id]
-
 
 class JobQueue(object):
   """Queue used to manage the jobs.
-- 
2.8.0.rc3.226.g39d4020

Reply via email to