Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: SOF: ipc4-topology: remove redundant assignment to variable ret

The variable ret is being assigned a zero value however the value is
never read because ret is being re-assigned later after the end of
the switch statement. The assignment is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20241113130807.1386754-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Colin Ian King and committed by
Mark Brown
fb5e67c9 add23327

-1
-1
sound/soc/sof/ipc4-topology.c
··· 755 755 * It is fine to call kfree(ipc4_copier->copier_config) since 756 756 * ipc4_copier->copier_config is null. 757 757 */ 758 - ret = 0; 759 758 break; 760 759 } 761 760