diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-09-01 02:50:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-14 13:38:40 -0400 |
commit | 921e54680aefe52f28d9ce9485edb1bfef4b92a8 (patch) | |
tree | dbf45b5523bf655ab020b2398be4b45422388b50 /sound/soc | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) |
ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning
Fix below build warning:
sound/soc/au1x/psc-i2s.c: In function 'au1xpsc_i2s_drvprobe':
sound/soc/au1x/psc-i2s.c:299:6: warning: unused variable 'ret' [-Wunused-variable]
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/au1x/psc-i2s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c index 38e853add96e..0bf9d62b91a0 100644 --- a/sound/soc/au1x/psc-i2s.c +++ b/sound/soc/au1x/psc-i2s.c | |||
@@ -296,7 +296,6 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev) | |||
296 | { | 296 | { |
297 | struct resource *iores, *dmares; | 297 | struct resource *iores, *dmares; |
298 | unsigned long sel; | 298 | unsigned long sel; |
299 | int ret; | ||
300 | struct au1xpsc_audio_data *wd; | 299 | struct au1xpsc_audio_data *wd; |
301 | 300 | ||
302 | wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), | 301 | wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), |