MINOR: quic: Useless test in quic_lstnr_dghdlr()

This statement is useless. This should fix CID 1469651 for GH #1546.
This commit is contained in:
Frédéric Lécaille 2022-02-15 08:58:07 +01:00 committed by Amaury Denoyelle
parent e1c3546efa
commit 498e992c1c

View File

@ -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 {