mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
ASoC: au1x: psc-ac97: remove unused chans
chans is not used in au1xpsc_ac97_hw_params(). Remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87y0g2ds7c.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c7852d2dcf
commit
b2133ca33e
|
|
@ -210,9 +210,7 @@ static int au1xpsc_ac97_hw_params(struct snd_pcm_substream *substream,
|
|||
{
|
||||
struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai);
|
||||
unsigned long r, ro, stat;
|
||||
int chans, t, stype = substream->stream;
|
||||
|
||||
chans = params_channels(params);
|
||||
int t, stype = substream->stream;
|
||||
|
||||
r = ro = __raw_readl(AC97_CFG(pscdata));
|
||||
stat = __raw_readl(AC97_STAT(pscdata));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user