MEDIUM: stconn: Remove .wake() callback function from app_ops

.wake() callback function is no longer used by endpoints. So it can be
removed from the app_ops structure.
This commit is contained in:
Christopher Faulet 2026-03-05 17:41:31 +01:00
parent a33b42035b
commit 9c7c669d7a
2 changed files with 0 additions and 6 deletions

View file

@ -358,7 +358,6 @@ struct sc_app_ops {
void (*chk_snd)(struct stconn *); /* chk_snd function, may not be null */
void (*abort)(struct stconn *); /* abort function, may not be null */
void (*shutdown)(struct stconn *); /* shutdown function, may not be null */
int (*wake)(struct stconn *); /* data-layer callback to report activity */
char name[8]; /* data layer name, zero-terminated */
};

View file

@ -56,7 +56,6 @@ struct sc_app_ops sc_app_conn_ops = {
.chk_snd = sc_app_chk_snd_conn,
.abort = sc_app_abort_conn,
.shutdown= sc_app_shut_conn,
.wake = sc_conn_process,
.name = "STRM",
};
@ -66,7 +65,6 @@ struct sc_app_ops sc_app_embedded_ops = {
.chk_snd = sc_app_chk_snd,
.abort = sc_app_abort,
.shutdown= sc_app_shut,
.wake = NULL, /* may never be used */
.name = "NONE", /* may never be used */
};
@ -76,7 +74,6 @@ struct sc_app_ops sc_app_applet_ops = {
.chk_snd = sc_app_chk_snd_applet,
.abort = sc_app_abort_applet,
.shutdown= sc_app_shut_applet,
.wake = sc_applet_process,
.name = "STRM",
};
@ -86,7 +83,6 @@ struct sc_app_ops sc_app_check_ops = {
.chk_snd = NULL,
.abort = NULL,
.shutdown= NULL,
.wake = wake_srv_chk,
.name = "CHCK",
};
@ -95,7 +91,6 @@ struct sc_app_ops sc_app_hstream_ops = {
.chk_snd = NULL,
.abort = NULL,
.shutdown= NULL,
.wake = hstream_wake,
.name = "HTERM",
};