Skip to content

Commit fb5e67c

Browse files
ColinIanKingbroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent add2332 commit fb5e67c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/sof/ipc4-topology.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@ static int sof_ipc4_widget_setup_comp_dai(struct snd_sof_widget *swidget)
755755
* It is fine to call kfree(ipc4_copier->copier_config) since
756756
* ipc4_copier->copier_config is null.
757757
*/
758-
ret = 0;
759758
break;
760759
}
761760

0 commit comments

Comments
 (0)