mirror of https://github.com/thesofproject/sof.git
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:
parent
88fdb10e52
commit
623bc38711
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue