]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: haterm: Remove hstream_wake() function
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 16:45:54 +0000 (17:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Mar 2026 14:10:34 +0000 (15:10 +0100)
This function is no longer used, so it can be safely removed.

include/haproxy/hstream.h
src/haterm.c

index 893adff60680a8c533bbed86e0d2e65f898c3757..7ba0d4d14a52072f324d7e5307ce9ac3abac8d60 100644 (file)
@@ -5,7 +5,6 @@
 #include <haproxy/hstream-t.h>
 
 struct task *sc_hstream_io_cb(struct task *t, void *ctx, unsigned int state);
-int hstream_wake(struct stconn *sc);
 void hstream_shutdown(struct stconn *sc);
 void *hstream_new(struct session *sess, struct stconn *sc, struct buffer *input);
 
index 05b3a306cecf74cbc14f8dcf74e12cc4a42c831f..564bf2aeabb4dc8fd46845a5c0dd810e70214060 100644 (file)
@@ -447,15 +447,6 @@ err:
        goto leave;
 }
 
-int hstream_wake(struct stconn *sc)
-{
-       struct hstream *hs = __sc_hstream(sc);
-
-       TRACE_STATE("waking up task", HS_EV_HSTRM_IO_CB, hs);
-       task_wakeup(hs->task, TASK_WOKEN_IO);
-       return 0;
-}
-
 /* Add data to HTX response buffer from pre-built responses */
 static void hstream_add_data(struct htx *htx, struct hstream *hs)
 {