]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h3: Dead code in h3_uqs_init()
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 15 Feb 2022 08:15:47 +0000 (09:15 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:23:44 +0000 (17:23 +0100)
This should fix CID 1469657 for GH #1546.

src/h3.c

index 48bb8cf3eff211cd33f7eaf37591524ebb4840c1..a7f0cda8f77a5ce42cdd61d623d8388abc1dd5f2 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -827,9 +827,6 @@ static int h3_uqs_init(struct h3_uqs *h3_uqs, struct h3 *h3,
        h3_uqs->wait_event.tasklet->process = t;
        h3_uqs->wait_event.tasklet->context = h3_uqs;
        return 1;
-
-       tasklet_free(h3_uqs->wait_event.tasklet);
-       return 0;
 }
 
 static inline void h3_uqs_release(struct h3_uqs *h3_uqs)