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

ASoC: ti: davinci-i2s: Delete unnecessary assignment

In davinci_i2s_hw_params(), mcbsp_word_length is set twice to
asp_word_length[fmt].

Remove second unnecessary assignment.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://msgid.link/r/20240402071213.11671-7-bastien.curutchet@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bastien Curutchet and committed by
Mark Brown
7dd7a6d2 714ffb8d

-1
-1
sound/soc/ti/davinci-i2s.c
··· 479 479 return -EINVAL; 480 480 } 481 481 } 482 - mcbsp_word_length = asp_word_length[fmt]; 483 482 484 483 switch (master) { 485 484 case SND_SOC_DAIFMT_BP_FP: