MINOR: quic: Move quic_lstnr_dgram_dispatch() out of xprt_quic.c

Remove this function from xprt_quic.c which for now implements only
"by thread attached to a connection" code.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index 1781f32..5c9b7f2 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -6411,8 +6411,8 @@
 /* Retreive the DCID from a QUIC datagram or packet with <buf> as first octet.
  * Returns 1 if succeeded, 0 if not.
  */
-static int quic_get_dgram_dcid(unsigned char *buf, const unsigned char *end,
-                               unsigned char **dcid, size_t *dcid_len)
+int quic_get_dgram_dcid(unsigned char *buf, const unsigned char *end,
+                        unsigned char **dcid, size_t *dcid_len)
 {
 	int long_header;
 	size_t minlen, skip;
@@ -6441,47 +6441,6 @@
 	return 0;
 }
 
-/* Retrieve the DCID from the datagram found in <buf> and deliver it to the
- * correct datagram handler.
- * Return 1 if a correct datagram could be found, 0 if not.
- */
-int quic_lstnr_dgram_dispatch(unsigned char *buf, size_t len, void *owner,
-                              struct sockaddr_storage *saddr,
-                              struct quic_dgram *new_dgram, struct list *dgrams)
-{
-	struct quic_dgram *dgram;
-	unsigned char *dcid;
-	size_t dcid_len;
-	int cid_tid;
-
-	if (!len || !quic_get_dgram_dcid(buf, buf + len, &dcid, &dcid_len))
-		goto err;
-
-	dgram = new_dgram ? new_dgram : pool_alloc(pool_head_quic_dgram);
-	if (!dgram)
-		goto err;
-
-	cid_tid = quic_get_cid_tid(dcid);
-
-	/* All the members must be initialized! */
-	dgram->owner = owner;
-	dgram->buf = buf;
-	dgram->len = len;
-	dgram->dcid = dcid;
-	dgram->dcid_len = dcid_len;
-	dgram->saddr = *saddr;
-	dgram->qc = NULL;
-	LIST_APPEND(dgrams, &dgram->list);
-	MT_LIST_APPEND(&quic_dghdlrs[cid_tid].dgrams, &dgram->mt_list);
-
-	tasklet_wakeup(quic_dghdlrs[cid_tid].task);
-
-	return 1;
-
- err:
-	return 0;
-}
-
 /* Notify the MUX layer if alive about an imminent close of <qc>. */
 void qc_notify_close(struct quic_conn *qc)
 {