]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_micfil: Remove set but not used variable 'osr'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 17 Apr 2019 15:09:15 +0000 (23:09 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 2 May 2019 01:46:02 +0000 (10:46 +0900)
commitf8a88a1f74bead95f901a5d5054a2445755cb75a
treea5746e7b80487d8afc82b7ae586ca3c0de1f369e
parent001cca9ddb5b47fedfcc67e4027e5247e5a76e4a
ASoC: fsl_micfil: Remove set but not used variable 'osr'

Fixes gcc '-Wunused-but-set-variable' warning:

sound/soc/fsl/fsl_micfil.c: In function 'get_clk_div':
sound/soc/fsl/fsl_micfil.c:154:6: warning: variable 'osr' set but not used [-Wunused-but-set-variable]

It is never used since introduction in
commit 2004137ef6cf ("ASoC: Add MICFIL SoC Digital Audio Interface driver.")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c