IPC4: remove a superfluous initialisation

module_init in ipc4_init_module_instance() is completely overwritten,
no need to initialise it.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2023-09-08 17:40:58 +02:00 committed by Kai Vehmanen
parent 88fdb10e52
commit 623bc38711
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ static int ipc4_process_glb_message(struct ipc4_message_request *ipc4)
static int ipc4_init_module_instance(struct ipc4_message_request *ipc4) static int ipc4_init_module_instance(struct ipc4_message_request *ipc4)
{ {
struct ipc4_module_init_instance module_init = {}; struct ipc4_module_init_instance module_init;
struct comp_dev *dev; struct comp_dev *dev;
/* we only need the common header here, all we have from the IPC */ /* we only need the common header here, all we have from the IPC */
int ret = memcpy_s(&module_init, sizeof(module_init), ipc4, sizeof(*ipc4)); int ret = memcpy_s(&module_init, sizeof(module_init), ipc4, sizeof(*ipc4));