From c63db3b5e8946342b6ad91f2890046a62065b30a Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 5 Mar 2026 17:45:54 +0100 Subject: [PATCH] MINOR: haterm: Remove hstream_wake() function This function is no longer used, so it can be safely removed. --- include/haproxy/hstream.h | 1 - src/haterm.c | 9 --------- 2 files changed, 10 deletions(-) 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) {