CLEANUP: listeners: remove the now unused enable_all_listeners()

It's not used anymore since previous commit. The good thing is that
no more listener function now directly acts on a protocol.
diff --git a/include/haproxy/listener.h b/include/haproxy/listener.h
index ccd9a47..d6e130c 100644
--- a/include/haproxy/listener.h
+++ b/include/haproxy/listener.h
@@ -56,14 +56,6 @@
  */
 void enable_listener(struct listener *listener);
 
-/* This function adds all of the protocol's listener's file descriptors to the
- * polling lists when they are in the LI_LISTEN state. It is intended to be
- * used as a protocol's generic enable_all() primitive, for use after the
- * fork(). It puts the listeners into LI_READY or LI_FULL states depending on
- * their number of connections. It always returns ERR_NONE.
- */
-int enable_all_listeners(struct protocol *proto);
-
 /* Dequeues all listeners waiting for a resource the global wait queue */
 void dequeue_all_listeners();
 
diff --git a/src/listener.c b/src/listener.c
index 9bc1097..ff1d298 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -463,24 +463,6 @@
 	HA_SPIN_UNLOCK(LISTENER_LOCK, &l->lock);
 }
 
-/* This function adds all of the protocol's listener's file descriptors to the
- * polling lists when they are in the LI_LISTEN state. It is intended to be
- * used as a protocol's generic enable_all() primitive, for use after the
- * fork(). It puts the listeners into LI_READY or LI_FULL states depending on
- * their number of connections. It always returns ERR_NONE.
- *
- * Must be called with proto_lock held.
- *
- */
-int enable_all_listeners(struct protocol *proto)
-{
-	struct listener *listener;
-
-	list_for_each_entry(listener, &proto->listeners, rx.proto_list)
-		enable_listener(listener);
-	return ERR_NONE;
-}
-
 /* Dequeues all listeners waiting for a resource the global wait queue */
 void dequeue_all_listeners()
 {