Merge "Remove unused function toList from scheduler" into feature/zuulv3
diff --git a/zuul/scheduler.py b/zuul/scheduler.py
index a725fcd..ed7d64b 100644
--- a/zuul/scheduler.py
+++ b/zuul/scheduler.py
@@ -184,14 +184,6 @@
         self.request_id = request.id
 
 
-def toList(item):
-    if not item:
-        return []
-    if isinstance(item, list):
-        return item
-    return [item]
-
-
 class Scheduler(threading.Thread):
     """The engine of Zuul.