From: Christopher Faulet Date: Thu, 5 Mar 2026 16:45:54 +0000 (+0100) Subject: MINOR: haterm: Remove hstream_wake() function X-Git-Tag: v3.4-dev7~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aaa97c4441974521e561c862efd6386296d76b6b;p=thirdparty%2Fhaproxy.git MINOR: haterm: Remove hstream_wake() function This function is no longer used, so it can be safely removed. --- diff --git a/include/haproxy/hstream.h b/include/haproxy/hstream.h index 893adff60..7ba0d4d14 100644 --- a/include/haproxy/hstream.h +++ b/include/haproxy/hstream.h @@ -5,7 +5,6 @@ #include 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); diff --git a/src/haterm.c b/src/haterm.c index 05b3a306c..564bf2aea 100644 --- a/src/haterm.c +++ b/src/haterm.c @@ -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) {