aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Curutchet <[email protected]>2024-04-02 09:12:06 +0200
committerMark Brown <[email protected]>2024-04-09 16:58:37 +0100
commit7dd7a6d2648b0b253cb8be3cdf8e895a995548fe (patch)
treed3a2d85cef002843a1ea1c6c0d826022108908c3
parent714ffb8d36f94bdc6d576417b451e9c568c83894 (diff)
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 <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/ti/davinci-i2s.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/ti/davinci-i2s.c b/sound/soc/ti/davinci-i2s.c
index 578b4ae28b71..a2c7c812ea50 100644
--- a/sound/soc/ti/davinci-i2s.c
+++ b/sound/soc/ti/davinci-i2s.c
@@ -479,7 +479,6 @@ static int davinci_i2s_hw_params(struct snd_pcm_substream *substream,
return -EINVAL;
}
}
- mcbsp_word_length = asp_word_length[fmt];
switch (master) {
case SND_SOC_DAIFMT_BP_FP: