Skip to content

Commit 8672347

Browse files
singalsukv2019i
authored andcommitted
IPC4: Remove from handler-kernel.c function ipc4_get_pipeline_data()
The function is unused and with xt-clang toolchain and warnings treated as errors this fails the xt-testbench4 build. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 72d6df1 commit 8672347

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/ipc/ipc4/handler-kernel.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@ static inline void ipc4_send_reply(struct ipc4_message_reply *reply)
9898
ret = memcpy_s(ipc->comp_data, sizeof(*reply), reply, sizeof(*reply));
9999
assert(!ret);
100100
}
101-
102-
static inline const struct ipc4_pipeline_set_state_data *ipc4_get_pipeline_data(void)
103-
{
104-
const struct ipc4_pipeline_set_state_data *ppl_data;
105-
struct ipc *ipc = ipc_get();
106-
107-
ppl_data = (const struct ipc4_pipeline_set_state_data *)ipc->comp_data;
108-
109-
return ppl_data;
110-
}
111101
#else
112102
static inline struct ipc4_message_request *ipc4_get_message_request(void)
113103
{

0 commit comments

Comments
 (0)