diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 11c5d3200..bec37acaa 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -5241,9 +5241,6 @@ struct task *quic_lstnr_dghdlr(struct task *t, void *ctx, unsigned int state) int first_pkt = 1; while ((dgram = MT_LIST_POP(&dghdlr->dgrams, typeof(dgram), mt_list))) { - if (!dgram) - goto err; - pos = dgram->buf; end = pos + dgram->len; do {